Skip to main content

Update Account Information

Update an account's display name, login name, and contact information. This API requires administrator permissions.

Endpoint: /openapi/v1/account/modifyMember

Method: POST

Complete the OpenAPI prerequisites before calling this API.

Request parameters

ParameterTypeRequiredDescription
accountIdStringYesID of the account to update.
nameStringYesAccount display name.
loginNameStringYesAccount login name.
mailStringNoEmail address.
mobileStringNoMobile number.
countryCodeStringNoCountry code for the mobile number, for example, +86.

Request example

{
"accountId": "<accountId>",
"name": "example-user",
"loginName": "example-user",
"mail": "user@example.com",
"mobile": "13800138000",
"countryCode": "+86"
}

Response parameters

ParameterTypeDescription
successBooleanWhether the request succeeded.
requestIdStringRequest ID.
dataBooleanWhether the account was updated.

Success response

{
"success": true,
"requestId": "<requestId>",
"data": true
}