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_idintegerRequired
Folder identifier

Request

This endpoint expects an object.
namestringOptional
New folder name
parentIdinteger or nullOptional

New parent folder id. Pass null to move the folder to the root of its phase/project.

phaseInstanceIdinteger or nullOptional

New phase instance id. Pass null to detach from a phase.

isActivebooleanOptional
Set to false to archive the folder, or true to unarchive it

Response

Successful response
idinteger
Folder identifier
namestring
Folder name
projectIdinteger

Project (or opportunity/account, under the hood) this folder belongs to

isActiveboolean

Whether the folder is active (false if archived)

createdAtstringformat: "date-time"
Creation timestamp
updatedAtstringformat: "date-time"
Last update timestamp
companyIdintegerOptional
Owning company identifier
parentIdinteger or nullOptional

Parent folder id, if this folder is nested under another folder. Mutually exclusive with phaseInstanceId. Folders nest at most 2 levels deep.

phaseInstanceIdinteger or nullOptional

Phase instance id, if this folder sits at the root of a phase. Mutually exclusive with parentId.

createdByinteger or nullOptional
User who created the folder

Errors

400
Bad Request Error
404
Not Found Error
500
Internal Server Error