Move folder
move_folderRe-parent a folder. A shared-drive folder whose slug was taken where it landed gets the next free one, which the result names, and comes back under it. In the website workspace, a folder moved into the Marketing folder puts every public, published page in it live on snaphost.ai/lp at once (and opens the folder and its pages to the whole workspace as editors, whatever they were), and one moved out or within it ends or changes their addresses; the result names every address that ended (move it back to restore them, then set the slug back if it changed) and every one that started; the Marketing folder itself is never moved. Pass its folder_id and the destination parent_id (both from list_folders); omit parent_id to move it to the drive root. A folder cannot be moved into itself or its own descendant. Returns the updated folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | No | Drive to use when moving to the root (no parent_id); defaults to the folder’s own | |
| folder_id | Yes | The folder to move | |
| parent_id | No | Destination parent folder id; omit to move to the drive root | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |