workspaces
workspaces
Set Workspace As Default
Set this workspace as the user's login default (per-user, durable).
Distinct from /switch (per-session, transient): this endpoint changes where future logins on brand-new browsers/devices land. Existing sessions are unaffected — their refresh_tokens.active_workspace_id is not touched.
Hard-blocked during impersonation (an admin should not change the impersonated user's login default).
Returns 204. No token rotation needed (only affects future logins).
post/api/workspaces/{workspace_id}/set-as-default
Request
- Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
- URL: https://api.dialogbrain.com/api/workspaces/{workspace_id}/set-as-default
- Auth: none declared
Path parameters
workspace_idinteger required
Response
Successful Response
Changes
No recorded changes to this operation across all 5 revisions of this API.