35 lines
581 B
Plaintext
35 lines
581 B
Plaintext
meta {
|
|
name: Switch Active Tenant Context
|
|
type: http
|
|
seq: 4
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}/api/v1/session/active-tenant
|
|
body: json
|
|
auth: bearer
|
|
}
|
|
|
|
auth:bearer {
|
|
token: {{userJwt}}
|
|
}
|
|
|
|
headers {
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"tenant_id": "tenant-beta"
|
|
}
|
|
}
|
|
|
|
docs {
|
|
# Switch Active Tenant Context (FR-TENANTMEMBERSHIPCONTEXT-002)
|
|
|
|
Explicitly sets the active trading firm context for a user with multiple memberships.
|
|
Server verifies that the authenticated subject has an ACTIVE membership in the target tenant.
|
|
}
|
|
|