Delete a file
cURL
curl --request DELETE \ --url https://api.anyapi.ai/v1/files/{file_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "object": "file", "deleted": true }
Bearer token authentication. Get your API key from the dashboard.
The ID of the file to delete
Successful response
The response is of type object.
object