Skip to main content
DELETE
/
v0
/
files
/
{id}
curl -X DELETE https://api.getagentdrive.com/v0/files/file_xyz789 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.getagentdrive.com/llms.txt

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

Path Parameters

id
string
required
The unique identifier of the file to delete.
curl -X DELETE https://api.getagentdrive.com/v0/files/file_xyz789 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true
}

Response

success
boolean
Whether the file was successfully deleted.