Zum Inhalt springen

Delete collection

DELETE
/api/collections/{collectionId}
curl --request DELETE \
--url https://firma.company-gpt.com/companygpt/rag/api/api/collections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Delete a collection and all associated data. Only the owner may delete.

collectionId
required
string format: uuid

Collection UUID

Collection deleted

Invalid collection ID

Unauthorized

Collection not found (also returned instead of 403 when the caller is not the owner)