Delete File Version

Summary Deletes a file version permanently
Request https://www.digitalbucket.net/api/rest/deletefileversion.axd?fileid=bd64d349-d584-45f3-a0fb-287bcb66fb34&versionid=a1e9535d-13cb-41fd-b99b-7cda7f237643
Method DELETE
Parameters fileid (id of the file you want to delete the version), versionid (id of the version you want to delete)

Success

<Success>
  <Code>71</Code>
  <Message>file version deleted successfully.</Message>
</Success>

Error

<Error>
  <Code>-205</Code>
  <Message>You are not allowed to access this file.</Message>
</Error>
<Error>
  <Code>-44</Code>
  <Message>[filename] is locked by another user. A locked file cannot be altered.</Message>
</Error>
<Error>
  <Code>-233</Code>
  <Message>This version of the file does not exist.</Message>
</Error>
<Error>
  <Code>-234</Code>
  <Message>You are not allowed to remove current version of this file.</Message>
</Error>

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