Documentation

/document/unlock/{contentId}

ThoughtFarmer REST API Method: /document/unlock/{contentId} 

Releases a lock on a document in ThoughtFarmer
 
URL:
http://yourserver.com/api/document/unlock/{contentId}
http://yourserver.com/api/2.0/document/unlock/{contentId}

Response Formats:
xml,json

HTTP Method(s):
GET
 
Requires Authentication:
true, user making call must pass a valid token parameter

Parameters:

 Parameter Type Description 
 contentId int  Required. The content id of the the document page to unlock
token  string  Required. A valid token authentication parameter
Response Status Codes:
200 - Update successful
401 - Token parameter is invalid
403 - No permissions to make update
404 - No document found to unlock
409 - If a content id is not a document page
412 - If the document is locked by another user

Example request
GET http://yourserver.com/api/document/unlock/{contentId}?token={token}
true