Skip to main content
DELETE
/
v0
/
drives
/
{id}
curl -X DELETE https://api.getagentdrive.com/v0/drives/YOUR_DRIVE_ID \
  -H "Authorization: Bearer agd_your_key"
{
  "data": {
    "id": "d7f3e-abc-123",
    "deleted": true
  }
}
Permanently deletes the drive, all files in it (from both storage and database), and any associated claim tokens. This action cannot be undone.

Path Parameters

id
string
required
The drive UUID.
curl -X DELETE https://api.getagentdrive.com/v0/drives/YOUR_DRIVE_ID \
  -H "Authorization: Bearer agd_your_key"
{
  "data": {
    "id": "d7f3e-abc-123",
    "deleted": true
  }
}