Skip to main content
PATCH
/
v1
/
document-folders
/
{id}
Update a document folder
curl --request PATCH \
  --url https://api.devic.ai/v1/document-folders/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "parentFolderId": "<string>",
  "color": "<string>"
}
'
{
  "_id": "<string>",
  "clientUID": "<string>",
  "projectId": "<string>",
  "name": "<string>",
  "parentFolderId": "<string>",
  "color": "<string>"
}

Authorizations

Authorization
string
header
required

Use JWT token for authentication

Path Parameters

id
string
required

Folder ID

Body

application/json
name
string

Folder name

parentFolderId
string | null

Parent folder ID (send null to unset)

color
string

Color tag

Response

Folder updated successfully

_id
string

Folder ID

clientUID
string

Client UID

projectId
string

Project ID the folder is scoped to

name
string

Folder name

parentFolderId
string | null

Parent folder ID

color
string

Optional color tag