Skip to main content
DELETE
/
v2
/
files
/
{collection_id}
curl -X DELETE 'https://api.anyformat.ai/v2/files/b2c3d4e5-f6a7-8901-bcde-f12345678901/' \
  -H 'Authorization: Bearer YOUR_API_KEY'
// No response body - file successfully deleted

Documentation Index

Fetch the complete documentation index at: https://docs.anyformat.ai/llms.txt

Use this file to discover all available pages before exploring further.

The collection_id in the URL is the id returned by POST /v2/workflows/{id}/files/ or POST /v2/workflows/{id}/run/.
Deleting a file is permanent and cannot be undone. All associated results will also be deleted. If the file has in-progress processing, processing will be cancelled.
curl -X DELETE 'https://api.anyformat.ai/v2/files/b2c3d4e5-f6a7-8901-bcde-f12345678901/' \
  -H 'Authorization: Bearer YOUR_API_KEY'
// No response body - file successfully deleted

Authorizations

Authorization
string
header
required

API key issued from app.anyformat.ai/settings. Send as Authorization: Bearer <key>.

Path Parameters

collection_id
string
required

Response

Successful Response