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
}

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.