Skip to Content

updateMembership()

updateMembership(relayId, input): Promise<{ primarySignInId: string; provider: ExternalServiceProvider; realm: string; revision: number; subscriptions: object[]; }>;

Atomically replaces the persisted order, checking the revision the caller last read.

Parameters

relayId

string

input

expectedRevision

number = ...

memberOptions?

Record<string, { credits?: { timing?: "immediate" | "deferred"; useWhenExhausted?: boolean; }; }>

Only entries included in the request are replaced; an empty object resets overrides.

signInIds

string[] = ...

Workflow guides

Last updated on