DocsAPI ReferenceCms/bff/cms/switch-organisation
postCmsAdmin BFF

/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

2 total
Body · 2
identityCookiesstringRequired

Current user identity cookie value.

organisationstringRequired

Slug of the organisation to switch to.

Request

POST /bff/cms/switch-organisation

post
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.

Get API Key