cURL
curl --request DELETE \ --url https://app.aigmented.com/api/v1/collections/{id} \ --header 'Authorization: Bearer <token>'
{ "message": "Collection removed" }
Permanently deletes a collection and its association records. The collection must belong to the authenticated team.
Pass your API key as a Bearer token. Example: Authorization: Bearer sk-xxxxxxxxxxxx
Authorization: Bearer sk-xxxxxxxxxxxx
Collection ID
Collection deleted
"Collection removed"