Move Folder

Summary Changes the parent of a folder to a new one
Request https://www.digitalbucket.net/api/rest/sharefolder.axd?folderid=64&enabled=true&comment=some+comment+for+this+folder
Method POST
Parameters folderid (id of the folder you want to change its sharing information), enabled (true if sharing is enabled for this folder), comment (shared folder comment)

Success

<Success>
  <Code>41</Code>
  <Message>'[foldername]' sharing information updated 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>-402</Code>
  <Message>Sharing this type of folder is not allowed.</Message>
</Error>
<Error>
  <Code>-403</Code>
  <Message>Only owner of the folder can share it.</Message>
</Error>

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