Skip to content

Delete a file

DELETE
/files/{file_id}
curl --request DELETE \
--url https://api.katara.com/v1/files/example \
--header 'Authorization: Bearer <token>'
file_id
required
string
/^file_[0-9a-f]{24}$/

The file is gone.

Media typeapplication/json
object
id
string
object
string
Allowed value: file
deleted
boolean
Example
{
"object": "file",
"deleted": true
}

file_not_found.