Skip to main content
PUT
Update a folder

Authorizations

Authorization
string
header
required

API key starting with sk_. Generate one in Settings > API Keys.

Path Parameters

id
string
required

Folder ID.

Body

application/json
name
string

New folder name.

Minimum string length: 1
parentFolderId
string | null

New parent folder ID (null = move to root).

Response

200 - application/json

Default Response

depth
integer
required

Nesting depth (0 = root).

id
string
required

Unique identifier of the folder.

name
string | null
required

Folder name.

nbAssociatedContents
integer
required

Number of contents in this folder.

parentFolderId
string | null
required

ID of the parent folder (null = root).