# Archive a template

`DELETE /org/{orgId}/templates/{id}` · Rivier · workspace

Archive a template: out of the pickers, its copies in documents untouched. Needs an admin.

- Scope: workspace:write
- Sdk: workspace.orgTemplate.archive
- Cli: templates 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 DELETE 'https://api.rivier.ai/org/{orgId}/templates/{id}' \
  -H 'Authorization: Bearer $KEY'
```
