Rename Folder Shares API
Info | Value |
---|---|
Request URL | /shares/_share_id_/folders/_folder_id_/rename |
Request VERB | PUT |
Parameter | Type | Description |
---|---|---|
new_name | String | The new name of the folder. |
HTTP Status | Descrption |
---|---|
200 | The rename was successful. The response body will be empty. |
404 | The folder was not found. The response body will be empty. |
400 | Another error occurred. Please see the body of the response for a detailed description of the error. |
Example Request in JSON
curl -X PUT --user nkpIxMK9ucUUE7FvfNpdAf:x \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{"new_name":"Some New Folder Name"}' \ https://test.host/shares/project-alpha/folders/goals/rename