cURL
curl --request DELETE \ --url https://api.example.com/api/access/:accessID
{ "message": "<string>", "401 Unauthorized": {}, "400 Bad Request": {}, "404 Not Found": {}, "403 Forbidden": {}, "500 Internal Server Error": {} }
Show Response
{ "error": "User not authenticated" }
{ "error": "Invalid access ID" }
{ "error": "Access record not found" }
{ "error": "File not found" }
{ "error": "You don't have permission to delete this access" }
{ "error": "Failed to delete access record" }
curl -X DELETE https://api.defdrive.com/api/access/456 \ -H "Authorization: Bearer YOUR_JWT_TOKEN"