Change a folder web address
update_folder_slug
Changes the slug of one folder, the part of the dashboard URL that identifies it.
Scopesites:writeMakes changes
Any link someone saved to the old slug stops working immediately. A slug another folder in the workspace already holds is refused with This folder URL already exists in this workspace!, so check it with check_folder_slug_available first.
Unlike renaming, this does not need the Edit folders permission. See Folders.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
folderId |
string | Yes | The folder id, from list_folders. |
slug |
string | Yes | The new slug, 3 to 32 characters of letters, numbers and hyphens. It is lowercased before it is saved. |