Skip to content

Deleting a document lock is analogous to undoing check out of a document. The authenticated user must have Edit Document permission in the document lifecycle state security settings as well as one of the following:

  • Document Owner role on the document
  • All Documents: All Document Actions permission
  • Document: Cancel Checkout permission
DELETE/api/{version}/objects/documents/{doc_id}/lock
NameDescription
{doc_id}The document id field value.
curl -X DELETE -H "Authorization: {SESSION_ID}" \ https://myvault.veevavault.com/api/v24.2/objects/documents/534/lock
{ "responseStatus": "SUCCESS", "responseMessage": "Undo check out successful." }

On SUCCESS, Vault unlocks the document, allowing other users to lock/check out the document.