cURL
documentId
Delete documentv1
Deletes a document.
DELETE
cURL
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The ID of the document
Query Parameters
The mode of deletion of the document. The values are 'TRASH' (send document to library trash) or 'PERMANENT' (document is permanently removed from AODocs).
Available options:
PERMANENT, TRASH The security code
The G Suite domain
The reason for deleting the document
Response
204
A successful response