/organizations/{organizationId}/subaccounts/{subaccountId}/memberships/{membershipId}

Update membership for a subaccount. Optional roles: omit the field to leave roles unchanged. Only roles for products included in the request are changed. Optional email, firstName, and/or lastName update the member; omitted fields keep the existing stored value. When updating email, set emailVerified to true if the partner has already verified the new address (skips the confirmation email and marks the address confirmed); omit emailVerified or set it to false to send a confirmation link to the new address. Email changes apply to the underlying user and propagate to connected apps via SNS (UserUpdated). Email cannot be changed for pending invitations, IdP-managed users, users who belong to other organizations, users with pending invitations elsewhere, or when the email-change rate limit applies.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

ID of the parent organization

uuid
required

ID of the subaccount

uuid
required

ID of the membership

Body Params
string | null
boolean | null

When true together with email, the new address is treated as already verified: no confirmation email is sent and the user can sign in with the new email immediately. Omit or set false to send a confirmation link to the new address.

string | null
string | null
roles
array of objects | null
roles
Responses

404

Organization, subaccount, or membership could not be found

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json