API Reference
Using the Ag.dev API
Delete a file from a drive
cURL
curl --request DELETE \ --url https://api.ag.dev/v0.1/drives/{driveId}/files/{fileId} \ --header 'X-API-Key: <api-key>'
{ "message": "<string>" }
Provide either X-API-Key: or Authorization: Bearer
Drive ID
File ID
File deletion queued
Deletion confirmation message