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
}
}
Drives
Delete Drive
Delete a drive and all its files.
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
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
}
}
