Unlock File

Summary Unlocks a locked file
Request https://www.digitalbucket.net/api/rest/unlock.axd?fileid=bd64d349-d584-45f3-a0fb-287bcb66fb34
Method POST
Parameters fileid (id of the file you want to unlock)

Success

<Success>
  <Code>28</Code>
  <Message>file unlocked successfully.</Message>
</Success>

Error

<Error>
  <Code>-201</Code>
  <Message>You are not allowed to access this file.</Message>
</Error>
<Error>
  <Code>-235</Code>
  <Message>You are not allowed to unlock this file.</Message>
</Error>

- For other errors refer to the list of Common Errors.