cURL
curl --request PUT \ --url https://aodocs.altirnao.com/api/document/v1/{documentId}/discardcheckout \ --header 'Authorization: Bearer <token>'
This response has no body data.
Discards the check-out of a document (deletes the draft version to come back to the main version as current version).
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the document
The security code
The G Suite domain