Skip to main content
DELETE
/
document
/
v1
/
{documentId}
cURL
curl --request DELETE \
  --url https://aodocs.altirnao.com/api/document/v1/{documentId} \
  --header 'Authorization: Bearer <token>'
This response has no body data.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

documentId
string
required

The ID of the document

Query Parameters

deleteMode
enum<string>
required

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
securityCode
string

The security code

domain
string

The G Suite domain

reason
string

The reason for deleting the document

Response

204 - undefined