/bff/cms/switch-organisation
Switches the user session to a different organisation. Creates a new identity session for the target organisation. User must be a member of the target organisation. Updates the organisation order in the user menu (most recently accessed first).
CMSpostBffCmsSwitch-organisation
Parameters
2 body
Body · 2
identityCookiesstringRequiredCurrent user identity cookie value.
organisationstringRequiredSlug of the organisation to switch to.
Request
POST /bff/cms/switch-organisation
curl -X POST "https://api.bizkithub.com/bff/cms/switch-organisation" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"identityCookies": "abc123-identity-token",
"organisation": "acme-corp"
}'Response
Organisation switch result.
{
"success": true,
"identityId": "xyz789-new-identity"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.