/api/v1/collections/{collection_id}/files/{file_id}
Deletes the file, its stored versions, and its indexed content.
Path Parameters
string
required
The collection’s UUID.
string
required
The file’s UUID.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X DELETE https://api.doctly.ai/api/v1/collections/{collection_id}/files/{file_id} \
-H "Authorization: Bearer YOUR_API_KEY"
Remove a file from a collection and its search index.
curl -X DELETE https://api.doctly.ai/api/v1/collections/{collection_id}/files/{file_id} \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X DELETE https://api.doctly.ai/api/v1/collections/{collection_id}/files/{file_id} \
-H "Authorization: Bearer YOUR_API_KEY"
/api/v1/collections/{collection_id}/files/{file_id}
Deletes the file, its stored versions, and its indexed content.
