Changes the root password for a specified ApsaraDB for MyBase host.

You can call this operation to manage only hosts that are created in MyBase for Redis dedicated clusters of the Enhanced Edition (Tair).


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 No ModifyDedicatedHostPassword

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

DedicatedHostId String Yes ch-bp10a5id3boqi****

The ID of the host. You can call the DescribeDedicatedHosts operation to query the host ID.

NewPassword String Yes test*****

The new password for the host.

RegionId String No cn-hangzhou

The region ID of the dedicated cluster in which the host is created. You can call the DescribeDedicatedHostAttribute operation to query the region ID.

Response parameters

Parameter Type Example Description
DedicatedHostName String test123****

The name of the host.

RequestId String D6E068C3-25BC-455A-85FE-45F0B22E12AS

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

HttpCode Error code Error message Description
404 InvalidDBInstance.NotFound The specified instance does not exist or is not supported. The error message returned because the instance does not exist or the operation cannot be performed on the instance.

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