Changes the root account password of a host.
Operation description
This operation is supported only for ApsaraDB MyBase for Redis Enhanced Edition (Tair) dedicated clusters.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | No | The region ID of the host. You can call the DescribeDedicatedHostAttribute operation to query the region ID. | cn-hangzhou |
NewPassword | string | Yes | The new password.
Note
If your dedicated cluster runs SQL Server, the password cannot contain the account name (case-insensitive).
| test***** |
DedicatedHostId | string | Yes | The host ID. You can call the DescribeDedicatedHosts operation to query the host ID. | ch-bp10a5id3boqi**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"DedicatedHostName": "test123****",
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22E12AS"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | InvalidDBInstance.NotFound | The specified instance does not exist or is not supported. | The specified instance does not exist or is not supported. |
For a list of error codes, visit the Service error codes.