Lock version

POST {{baseUrl}}/v2/nodes/:id/versions/:version_number/lock

Locks the specified version on the node, preventing it from being modified or deleted.

NOTE:This is not the same as reserving a node, which prevents the document and its versions from being modified. Locking a version only prevents that version from being modified - the rest of the node can still be modified by other users (ie. a user can lock a version, while another user can change the node's name or description at the same time).

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"results":[{"data":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"data":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"links":[{"data":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"data":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}]}