/v1/auth/switch-tenantSwitch to a different tenant. Returns a new session token scoped to that tenant and rotates the auth cookie so subsequent requests carry the new token.
| Name | Type | Required | Description |
|---|---|---|---|
X-API-Key | string | Optional |
tenant_idstringRequiredcurl -X POST '/api-proxy/v1/auth/switch-tenant' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"tenant_id": "string"
}'No response body documented
curl -X POST '/api-proxy/v1/auth/switch-tenant' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"tenant_id": "string"
}'No response body documented