Upsert Folders
upsert_foldersCreates or updates multiple folders in a single request from path hierarchies, auto-creates nested folders, and updates comments on existing ones. Returns the folder ID path for each.
Instructions
Creates or updates multiple folders in a single request using folder path hierarchies. Automatically creates nested folder structures and updates existing folders' comments. Returns an array of folder ID arrays, each representing the full folder path hierarchy as an array of folder IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folders | Yes | Array of folder requests to create or update | |
| projectCode | Yes | Project code identifier (e.g., BDI) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | One folder-ID array per input folder, representing the full path hierarchy |