/documents/{docPath}/lockState - Unlock document and revert edits

Unlocks the document for the current user. All changes made to the content are lost.

End-point

DELETE /documents/{docPath}/lockState

Path parameters

Field Description

docPath

Full path of the document in the repository

Note: Collection separators "/" must be encoded as "%7C".

Possible response

HTTP status Description

200

The operation completed successfully

401

There is no session or the session is invalid

Response body

Field Type Description

result

String

The results field is empty for a successful unlock operation