Skip to main content
Renames, recolors or moves a folder. Send parentId to move it, with its flows and subfolders, inside another folder, or null to move it to the top level. Fields you omit are left as they are. Built-in folders cannot be changed. Customer flows were previously called scenarios.
Calls PUT /v1/customer-flow/folder/{folderId}

Arguments

string
required
The folder-id.

Options

string
A new name. Must be unique within the parent folder, ignoring case.
string
The color the folder is shown with in the app. Folders share the palette labels use. One of GREEN, RED, ORANGE, PURPLE, GREY, BLUE, PEACH, TEAL, INDIGO, AMBER, ROSE, CYAN
string
What belongs in this folder. Null clears it.
string
Moves the folder, with everything in it, inside this folder. Null moves it to the top level; omit it to leave it where it is.

Example

Every command also takes the global options and sets one of the exit codes.