Rename a folder
rename_folder
Changes the name of one folder and leaves its slug, and with it the dashboard URL, as it is.
Scopesites:writeMakes changes
To change the URL as well, use update_folder_slug. Renaming needs either that you created the folder or the Edit folders permission in its workspace. See Folders.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
folderId |
string | Yes | The folder id, from list_folders. |
folder_name |
string | Yes | The new name, 2 to 84 characters. |