Set own default tenant
Makes tenantId your default tenant: your next sign-in goes there. Setting the tenant that is already your default succeeds again.
tenantId must be one of the tenants GET /v1/users/{id}/tenants lists. Any other value is refused with the same 403 IDE-0057 as another user’s {id}, which does not say why.
Any authenticated member may call this for THEMSELVES; an {id} other than your token’s subject is refused with 403 IDE-0057.
On success the response has no body (204).
Failures:
400—{id}is not a UUID, ortenantIdis missing or empty.401— no bearer token.403 IDE-0057—{id}is not you, or you have no active account in that tenant.404— no such user.503 IDE-0060— the identity provider is unavailable (unreachable, too slow to answer, or failing). Nothing about the request was wrong; retry it later.
Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
Caller's own User ID.
"00000000-0000-0000-0000-000000000000"
Body
The tenant that becomes the default.
"acme-b"
Response
No Content

