Skip to content
POST
/user/switch-tenant
SwitchTenantRequest
object
id_token
required
Id Token
string
tenant_id
required
Tenant Id
string

Successful Response

SwitchTenantResponse
object
user_key
required
User Key
string

{"detail": "Invalid API Key"} {"detail": "Not permitted to access this tenant"}

{"detail": "User not found"} {"detail": "Tenant not found"}

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string