Skip to main content
DELETE
https://aodocs.altirnao.com
/
api
/
document
/
v1
/
{documentId}
Delete a specific document by ID
curl --request DELETE \
  --url https://aodocs.altirnao.com/api/document/v1/{documentId}
204

Method and API

Play with the API Explorer:

DELETE /document/v1/\{documentId\}

Guidelines

Request

Only documentId is mandatory, and it must be an AODocs documentId not a Drive fileId.
Note:To get an AODocs document (including its documentId) by the Drive ID of one of its attachments, use the GET /document/v1/drive/{driveId} method.

Sample request

Sample request
DELETE https://aodocs.altirnao.com/api/document/v1/RssP0ol81I2JjwfFgxk?deleteMode=TRASH

Responses

Because this is a deletion of a resource, there is no resource to return in the response. The response returns an HTTP code of 204 (No Content)
204