Create Directory

This API will create a directory with the value given in the body

POST /directory

API Permissions

DIR_CREATE

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/directory headers: X-Filerobot-Key: 19692813e7364ef8ad6a6504d50a12ca theme: clouds-midnight editor_theme: clouds_midnight method: POST body: | { "name": "/new-directory" } render: curl_tab: true

Response

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