ModifyAccountPassword

Updated at:

Changes the password of an account that is used to access a database.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action String Yes ModifyAccountPassword

The operation that you want to perform. Set the value to ModifyAccountPassword.

ClusterId String Yes ld-bp150tns0sjxs****

The ID of the ApsaraDB for HBase cluster. You can call the DescribeInstances operation to query the cluster ID.

AccountName String Yes test01

The account name.

NewAccountPassword String Yes test*****

The new password of the account. It must meet the following requirements:

  • It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
  • It must be 8 to 32 characters in length.
  • Special characters include ! @ # $ % ^ & * ( ) _ + - =

Response parameters

Parameter

Type

Example

Description

RequestId String AFAA617B-3268-5883-982B-DB8EC8C*****

The request ID.

Examples

Sample requests

Sample success responses

JSON format

HTTP/1.1 200 OK

Error codes

访问错误中心查看更多错误码。