cURL
driveId
Delete documentv1drive
Deletes a document AODocs via the Drive ID of one of its attachment.
DELETE
cURL
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The ID of the file
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