Skip to content
Account Profile & Status

Change Member Login Email

Changes a user's login email address.

Request parameters

  • Required: member_id (user ID), new_email (new email address).
  • See the field descriptions for each field's format, value range, and business meaning.

Business notes

Updates the user's login email to new_email. After the change the user must sign in with the new address.

Risk warning

This operation changes the user's login credential. Confirm the target user and the new email before calling.

Result

On success, the login email is changed. Refer to the 200 response definition for the resulting state.

POSThttps://b-api.lbkrs.com/v1/whaleapi/member/change_email

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Permission

account.approve_edit_member

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

member_idstringrequired

Member ID. Member ID

member_id is the customer ID. It differs from the securities account number account_no and the internal securities account ID aaid; one customer can have multiple securities accounts.

new_emailstringrequired

New Email. New Email

Responses

HTTP 200Success
codeinteger

code

messagestring

message

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs