POST
/user/switch-tenant
Request Body required
Section titled “Request Body required ” SwitchTenantRequest
object
id_token
required
Id Token
string
tenant_id
required
Tenant Id
string
Responses
Section titled “ Responses ”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>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string