Set the default workspace
set_default_workspace
Makes a workspace your default, the one the dashboard opens on and the one the Free plan grants its allowance to.
Only one workspace is the default at a time, so this moves it off whichever held it. Only the workspace owner can set it, and anyone else is refused with Only the workspace owner can set it as the default!
Moving the default re-evaluates entitlement on both workspaces. A workspace on the Free plan that loses it has every site and project locked, and a workspace on the Free plan that gains it has the Modulify badge forced back on for any site that had it hidden, which republishes that site if it was already live.
When the new default is on the Free plan, the free credits you already spent in another free workspace you own carry over, so moving it never grants the free allowance twice. See Workspaces.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
workspaceId |
string | Yes | The workspace to make the default. |