v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Documents > Folder

Updates a Folder

Update a folder.

put/api/2026-07-01/resources/documents/folders/{id}

Path parameters

idstring required

Folder id

Request body

company_idstring required

Company ID

idstring required

Folder id

namestring required

Folder name

Example request

{
  "company_id": "1",
  "id": "3",
  "name": "New folder name"
}

Response

OK

activeboolean required

Whether the folder is active or not

company_idstring

Company ID of the folder

idstring required

Folder ID

namestring required

Folder name

parent_folder_idstring

Id of the parent folder

spacestring required

The space of the folder is related to the place where the folder is displayed.

Example response

{
  "active": true,
  "company_id": "1",
  "id": "10",
  "name": "Payslips",
  "parent_folder_id": "23"
}