Update Workspace
Rename a workspace.
Rename a workspace. The response is the updated workspace.
POST /v1/organizations/workspaces/:workspace_idPath parameters
workspace_idstringrequiredThe workspace's ID.
Body
namestringrequiredThe workspace name, 1 to 255 characters. Leading and trailing spaces
are removed. Default is reserved for the Default Workspace, and no two
workspaces that aren't archived share a name (both ignore case).
Any other field is rejected with 400.
Response
(object)WorkspaceoptionalThe updated [workspace object](/api-reference/admin/workspaces#the- workspace-object).
Errors
| Status | Reason |
|---|---|
400 | The name is invalid or Default, or the workspace is the Default Workspace or archived. |
404 | No workspace with this ID exists in your organization. |
409 | Another workspace that isn't archived already has this name. |