B2BMembersClient
B2B member management methods for the authenticated member and organization members.
Properties
Functions
Creates a new member in the organization. Calls the POST /sdk/v1/b2b/organizations/members endpoint. Requires an active session and appropriate RBAC permissions.
Removes the MFA phone number from the currently authenticated member's account. Calls the DELETE /sdk/v1/b2b/organizations/members/deletePhoneNumber endpoint. Requires an active session.
Removes the TOTP authenticator registration from the currently authenticated member's account. Calls the DELETE /sdk/v1/b2b/organizations/members/deleteTOTP endpoint. Requires an active session.
Searches for members within the organization matching the provided criteria. Calls the POST /sdk/v1/b2b/organizations/me/members/search endpoint. Requires an active session and appropriate RBAC permissions.
Initiates an email address update for the currently authenticated member by sending a verification link to the new address. Calls the POST /sdk/v1/b2b/organizations/members/start_email_update endpoint.
Removes a retired (previously used) email address from the currently authenticated member's account. Calls the POST /sdk/v1/b2b/organizations/members/unlink_retired_email endpoint.