Skip to main content
DELETE
/
v1
/
collections
/
{collection_id}
Delete Collection
curl --request DELETE \
  --url https://api.clarm.com/v1/collections/{collection_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}
Delete a collection permanently. This will remove the collection and its organization, but the underlying data sources and documents remain intact.

Important Notes

  • This action cannot be undone
  • Only collections you have access to can be deleted
  • The underlying data sources and their documents are not affected
  • Any agents using this collection will need to be updated

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection_id
integer
required

Response

Successful Response