# Close a thread

`POST /workspace/threads/{id}/close` · Rivier · inbox

Close a thread.

- Scope: inbox:write
- Graphql: Mutation.inboxThreadClose
- Sdk: inbox.thread.close
- Cli: inbox thread close
- Events: inbox.thread.closed

## Parameters

- `id` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/workspace/threads/{id}/close' \
  -H 'Authorization: Bearer $KEY'
```
