DELETE
/
files
/
{file_id}
Delete file
curl --request DELETE \
  --url https://api.anyapi.ai/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "file",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Get your API key from the dashboard.

Path Parameters

file_id
string
required

The ID of the file to delete

Response

200
application/json

Successful response

The response is of type object.