Remove Folder Sharing

Summary Removes sharing from a folder
Request https://www.digitalbucket.net/api/rest/removefoldersharing.axd?folderid=64
Method DELETE
Parameters folderid (id of the folder you want to remove its sharing)

Success

<Success>
  <Code>42</Code>
  <Message>'[foldername]' sharing removed successfully.</Message>
</Success>

Error

<Error>
  <Code>-401</Code>
  <Message>This folder does not exist or you don't have enough permission to access it.</Message>
</Error>
<Error>
  <Code>-404</Code>
  <Message>Only owner of the folder can remove sharing.</Message>
</Error>

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