Resets the password of a specified user of an ApsaraDB for HBase instance.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyUIAccountPassword

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

ClusterId String Yes ld-bp150tns0sjxs****

The ID of the instance. You can call the DescribeInstances operation to query the instance ID.

AccountName String Yes test01

The username that is used to connect to the instance. If no custom users are created for the instance, the default user is used. The username of the default user is root.

AccountPassword String Yes **********

The new password. The password must be 2 to 30 characters in length and can consist of uppercase letters, lowercase letters, digits, and special characters. The following special characters are supported: underscores (_) and hyphens (-).

Response parameters

Parameter Type Example Description
RequestId String BED4ADEB-4EA9-507E-892C-84112D6AC7C1

The ID of the request.

Examples

Sample requests

http(s)://hbase.aliyuncs.com/?Action=ModifyUIAccountPassword
&AccountName=test01
&AccountPassword=**********
&ClusterId=ld-bp150tns0sjxs****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ModifyUIAccountPasswordResponse>
<RequestId>BED4ADEB-4EA9-507E-892C-84112D6AC7C1</RequestId>
</ModifyUIAccountPasswordResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "BED4ADEB-4EA9-507E-892C-84112D6AC7C1"
}

Error codes

For a list of error codes, visit the Error Center.