Update Folder
Rename, move, or archive a doc folder.
Notes:
- All fields are optional; only fields present in the request body are applied.
- `parentId` and `phaseInstanceId` are mutually exclusive.
- Moving a folder that has subfolders is rejected.
- Archiving a folder cascades the archived state to its subfolders and their files.
Authentication
x-api-keystring
API Key authentication via header
Path parameters
folder_id
Folder identifier
Request
This endpoint expects an object.
name
New folder name
parentId
New parent folder id. Pass null to move the folder to the root of its phase/project.
phaseInstanceId
New phase instance id. Pass null to detach from a phase.
isActive
Set to false to archive the folder, or true to unarchive it
Response
Successful response
id
Folder identifier
name
Folder name
projectId
Project (or opportunity/account, under the hood) this folder belongs to
isActive
Whether the folder is active (false if archived)
createdAt
Creation timestamp
updatedAt
Last update timestamp
companyId
Owning company identifier
parentId
Parent folder id, if this folder is nested under another folder. Mutually exclusive with phaseInstanceId. Folders nest at most 2 levels deep.
phaseInstanceId
Phase instance id, if this folder sits at the root of a phase. Mutually exclusive with parentId.
createdBy
User who created the folder
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error
