Rename a folder
Rename the folder identified by its folder_uuid
to the value given in the body
PUT
/v4/folder/{folder_uuid}/name
API permissions
DIR_RENAME
Body
{
"name": "new-name"
}
Try it out
Request
Copy-paste the cURL request in your Terminal or click on the API Explorer tab to see the API in action.
host: 'https://api.filerobot.com'
path: '/fusqadtm/v4/folder/{folder_uuid}/name'
headers:
X-Airstore-Secret-Key: 19692813e7364ef8ad6a6504d50a12ca
variables:
folder_uuid: 88c03bb7-4024-5884-b8fd-069b41d2f687
theme: clouds-midnight
editor_theme: clouds_midnight
method: PUT
body: |
{
"name": "nice"
}
render:
curl_tab: true
Response
{
"status":"success",
"action":"directory_renamed",
"dir_uuid": "88c03bb7-4024-5884-b8fd-069b41d2f687"
}