Dirs files

This api will move all the file given to a new directory. This directory will be create if it doesn't exist.

Move files in an other directory

POST /dirs/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/dirs/move headers: X-Filerobot-Key: 19692813e7364ef8ad6a6504d50a12ca theme: clouds-midnight editor_theme: clouds_midnight method: POST body: | { "dirs_uuids": [ "07cb7fcb-e5ba-500a-8ae9-e5a6fcf50000" ], "new_dir_name": "/properties" } render: curl_tab: true

Response

{
    "status":"success",
    "action":"dirs_moved",
    "dirs_uuids": [
        "4045f60e-8a91-5039-bb4e-3d3d247056e9"
    ],
    "new_dir_uuid": "565c65f0-223f-5a35-adf1-f71d24c851e4"
}