Skip to main content

The desired state of one membership (billing contract `product-provisioning`): creates the tenant of an unknown workspace, the user of an unknown identity (never by email; `external_user_id` moves a known user to a new identity) and maps the role: admin → admin binding, member → viewer binding, on the whole tenant. Older versions change nothing. `revoked` removes the membership, its bindings, tokens and team memberships, and ends the user's sessions in this tenant.

PUT 

/internal/billing/memberships/:membership_id

The desired state of one membership (billing contract product-provisioning): creates the tenant of an unknown workspace, the user of an unknown identity (never by email; external_user_id moves a known user to a new identity) and maps the role: admin → admin binding, member → viewer binding, on the whole tenant. Older versions change nothing. revoked removes the membership, its bindings, tokens and team memberships, and ends the user's sessions in this tenant.

Request​

Responses​

The resulting state.