Create

POST

Creates a Directory.

Request

This endpoint expects an object.
namestringOptional

Name of the directory to create.

parent_idstringOptional

ID of the parent directory. Starts with dir_.

pathstringOptional

Path to create the directory in, relative to the root directory. If the path does not exist, it will be created. Includes name, e.g. path/to/directory.

Response

Successful Response

idstring

String ID of directory. Starts with dir_.

namestring

Name of the directory.

pathstring

Path to the directory, relative to the root directory. Includes name, e.g. path/to/directory.

created_atdatetime
updated_atdatetime
parent_idstringOptional

ID of the parent directory. Will be None if the directory is the root directory. Starts with dir_.

Errors