-
Notifications
You must be signed in to change notification settings - Fork 1
Delete document
Clément Denis edited this page Jun 8, 2020
·
2 revisions
You can delete a specific document if you have its documentId
. You can either delete it permanently, or just send it to Trash. You can retrieve it from the Trash, or leave it there and it will get deleted after some designated amount of time.
Play with the API Explorer:
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 theGET /document/v1/drive/{driveId}
method.
DELETE https://aodocs.altirnao.com/api/document/v1/RssP0ol81I2JjwfFgxk?deleteMode=TRASH
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
Feedback wanted!
- Getting Started
- Key concepts
- Authentication
-
Manage AODocs documents
- Get library and class info
- Create, modify, delete documents
- Best practices
- About API resources