cURL
curl --request POST \ --url https://aodocs.altirnao.com/api/document/v1/{documentId}/lock \ --header 'Authorization: Bearer <token>'
Locks the document for edition by the current user.
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
A successful response