# Archive a client: hidden from lists and pickers, its history and documents kept

`POST /org/{orgId}/clients/{id}/archive` · Rivier · workspace

Archive a client: hidden from lists and pickers, its history and documents kept.

- Scope: workspace:write
- Sdk: workspace.orgClient.archive
- Cli: clients archive

## Parameters

- `orgId` (path, required), string
- `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/org/{orgId}/clients/{id}/archive' \
  -H 'Authorization: Bearer $KEY'
```
