cURL
curl --request POST \ --url https://aodocs.altirnao.com/api/document/v1/drive/{driveId}/lock \ --header 'Authorization: Bearer <token>'
Locks the document (via the Drive ID of one of its attachment) for edition by the current user.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the file
The security code
The G Suite domain
A successful response