ReferenceAuth
Switch Organization
Header Parameters
authorization?|
X-API-Key?|
Cookie Parameters
vai_token?|
Request Body
application/json
membershipId*string
Target membership to switch to
Format
uuidResponse Body
application/json
application/json
curl -X POST "https://loading/api/v1/auth/switch-organization" \ -H "Content-Type: application/json" \ -d '{ "membershipId": "8072cc74-4782-4f2c-827c-699c48ce2092" }'{
"membershipId": "8072cc74-4782-4f2c-827c-699c48ce2092",
"organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}