Overview
Permanently delete a collection and all its data. This operation:
- Removes all synced data from the vector database
- Deletes all source connections within the collection
- Cancels any scheduled sync jobs
- Cleans up all related resources
This action cannot be undone. All data will be permanently deleted.
Path Parameters
The unique readable identifier of the collection to delete
Response
Returns the deleted collection object.
UUID of the deleted collection
Name of the deleted collection
Readable ID of the deleted collection
Final status of the collection
Example Request
curl -X DELETE https://api.airweave.ai/v1/collections/finance-data-ab123 \
-H "Authorization: Bearer YOUR_API_KEY"
Example Response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Finance Data",
"readable_id": "finance-data-ab123",
"vector_size": 3072,
"embedding_model_name": "text-embedding-3-large",
"sync_config": null,
"created_at": "2024-01-15T09:30:00Z",
"modified_at": "2024-01-15T14:22:15Z",
"organization_id": "org12345-6789-abcd-ef01-234567890abc",
"created_by_email": "admin@company.com",
"modified_by_email": "finance@company.com",
"status": "ACTIVE"
}
Error Responses
Collection with the specified readable_id does not exist