If the request is successful, returns the model of the created directory

Request

POST /pub/v1/disk/directory

Request body

The resource sent in the request body is  Directory is created — Request. It contains the following writable properties:

{
    "__name": "string",
    "directory": "uuid"
}

Properties

Name Type Description Additional
__name string

Name of the new folder

directory uuid

ID of the parent directory

Authorization

This request requires the use of one of following authorisation methods: API key

Response

The following HTTP status codes may be returned:

Status code Description Resource
200 OK

Response model for requesting a directory’s creation

Response model for requesting a directory’s creation (Directory is created)
400 Bad Request

Invalid request parameters