Update Current Workspace
Update name, timezone, country and/or default language (admin+). Omitted fields are unchanged.
API key access
admin scope with an API key (ro_pat_...). A signed-in session uses the caller's role./api/v1/workspaces/currentAccess token from /api/v1/auth/login, or an API key (ro_pat_..., RO-176) from /api/v1/workspaces/current/api-keys: the key implies its workspace and needs the route's scope. MCP connectors (/api/v1/mcp only) may use an OAuth access token (ro_oat_..., RO-284).
In: header
Header Parameters
Id of the workspace to act on (must be a member).
length <= 200IANA time zone, e.g. Europe/Berlin.
ISO 3166-1 alpha-2 code; send null to clear it.
Language of a call whose lead has none (RO-253): a code such as en or hi-IN, or a common language name; send null to clear it.
length <= 35RO-293: the workspace's URL-safe handle (lowercase letters and digits in hyphen-separated groups, 3 to 63 characters, not reserved); 409 if another workspace has it.
length <= 63Response Body
curl -X PATCH "http://localhost:8000/api/v1/workspaces/current" \ -H "X-Workspace-Id: string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"slug": "string",
"plan": "free",
"timezone": "string",
"country": "string",
"default_language": "string",
"suspended_at": "2019-08-24T14:15:22Z",
"suspended_reason": "string",
"role": "owner"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Automation Settings
Admins: change any of the automation settings. Limits outside their range are a 422 (the confidence can't go below 0.85, the auto-send cap above 50, AI column cells above 1000 a day or rows above 200 a run). Changes are audited (`workspace.automation_settings_changed`).
Update Member Role
Change a member's role. Admins can't touch owners or grant the owner role (403); the last owner can't be demoted (409); 404 if the user isn't in this workspace.