Creates a request to switch organization
POST/v1/auth/org/:orgName/switch
Creates a request to switch to the same user's other organization. Only possible if user belongs to multiple organization
Request
Path Parameters
orgName stringrequired
Organization name for which switch request has to be created
Query Parameters
setCookie boolean
Default value: true
Describes a way to set cookie from backend for switched organization
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Authorizationstring
Describes the authentication token in jwt format.
isMfaboolean
Indicates the authentication flow using MFA
{
"Authorization": "string",
"isMfa": true
}
Loading...