Move folders

This api will move folders (identified by their folders_uuids to a new location (folder) which can be identified by either new_dir_name or new_dir_uuid. If a folder identified by a name does not exist, it will be created.

POST /v4/folders/move

API permissions

DIR_MOVE

Body

{
    "dirs_uuids": [
        "5b12134e-70c6-5bd8-b49c-6264a08de5d7", 
        ... 
    ],
    "new_dir_name": "/hello/world",                        // Only one of those 2 parameters 
    "new_dir_uuid": "08c40f0c-750e-5a56-85c1-63bd3061fa22" // should be used
}

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/folders/move headers: X-Filerobot-Key: 19692813e7364ef8ad6a6504d50a12ca theme: clouds-midnight editor_theme: clouds_midnight method: POST body: | { "folders_uuids": [ "88c03bb7-4024-5884-b8fd-069b41d2f687" ], "new_folder_name": "/" } render: curl_tab: true

Response

{
    "status": "success",
    "action": "dirs_moved",
    "folders_uuids": [
        "88c03bb7-4024-5884-b8fd-069b41d2f687"
    ],
    "new_folder_uuid": "7e766397-b258-53b1-933a-a338503e7ebe"
}