Skip to main content
POST
Switch the caller's active workspace

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Body

application/json
tenant_id
string
required

Response

Switched. The console reloads into it.

ok
enum<boolean>
required
Available options:
true
workspace
object
required