PUT api/account/switchCompany/{companyId}

Switches user's organization from the current one to the one specified by the parameter companyId. All of the claims are regenerated. After switching, user should log out and log in again to obtain a new token with a new set of claims.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

Company ID to switch to.

integer

Required

Body Parameters

None.

Response Information

Resource Description

None.