Skip to content

A document lock is analogous to checking out a document but without the file attached in the response for download.

POST/api/{version}/objects/documents/{doc_id}/lock
NameDescription
Acceptapplication/json (default) or application/xml
NameDescription
{doc_id}The document id field value.
curl -X POST -H "Authorization: {SESSION_ID}" \ https://myvault.veevavault.com/api/v24.1/objects/documents/534/lock
{ "responseStatus": "SUCCESS", "responseMessage": "Document successfully checked out." }

On SUCCESS, Vault locks the document and other users are not allowed to lock (check-out) the document.