Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234_abcdef

Body

application/json
name
string
required

Title of the directory, from 1 to 255 characters. The title must be unique among the directories with the same parent.

Required string length: 1 - 255
parent_id
integer | null

ID of a parent directory. "null" if it's in the root.

Response

Successful

Response of the create directory method. The same as "directory_response".

directory
object
required
Example: