Rename Directory

Rename the directory with the value given in the body

PUT /dir/{dir_uuid}/name

API Permissions

DIR_RENAME

Body

{
    "name": "/hello/world"
}

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/dir/{dir_uuid}/name' headers: X-Airstore-Secret-Key: 19692813e7364ef8ad6a6504d50a12ca variables: dir_uuid: 1c18c69b-46fe-5975-9cf0-3b1b9234288b theme: clouds-midnight editor_theme: clouds_midnight method: PUT body: | { "name": "/nice" } render: curl_tab: true

Response

{
    "status":"success",
    "action":"directory_renamed",
    "dir_uuid": "565c65f0-223f-5a35-adf1-f71d24c851e4"
}