Skip to main content
POST
Reset member info

Restrictions

Usage

  • Identify the member with one of member_id, member_name, email, phone, or ref_id. If multiple identifiers are present, the server checks them in that order.
  • updates.country_code is an ISO 3166-1 alpha-2 region code (e.g. “CN”, “US”). It is an independently updatable field: updates.phone is not required, and the new region is stored even when the phone is unchanged. An explicit empty string is rejected with a 400.
  • When updates.phone has no ”+” prefix, it is parsed with updates.country_code as the region hint, falling back to the member’s stored region and then to “CN”. Legacy digit calling codes such as “86” remain accepted only as parsing hints — stored values are always ISO region codes.
  • The top-level country_code is only a parsing hint for the identifying phone; it is never stored.
  • Put the profile fields to write under updates: member_name, password, phone, country_code, email, avatar, locale, time_zone, or ref_id.
  • Members provisioned by SSO cannot be changed when SSO marks them as externally managed.
  • updates must carry at least one field; an object with every field omitted is rejected.

Authorizations

app_key
string
query
required

App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.

Body

application/json

Reset member info request. Top-level fields identify the member, and updates contains the profile fields to write.

member_id
integer<uint64>
required

Member ID used to identify the member.

updates
object
required

New profile values to write. Must include at least one field.

member_name
string

Member name used to identify the member.

email
string

Email address used to identify the member.

phone
string

Phone number used to identify the member. Include country_code when the number is not in E.164 format.

country_code
string

Region hint for parsing phone when it has no "+" prefix — an ISO 3166-1 alpha-2 code such as "CN" (the default when omitted). Legacy digit calling codes like "86" are still accepted in this parsing context.

ref_id
string

External reference ID used to identify the member.

from
string

Set to api to mark an updated phone or email as verified. Only takes effect when the account has member invites disabled; any other value is ignored.

Response

Success

Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object
required

Empty response