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.
Try it now
Test
RAM authorization
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 elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DedicatedHostName |
string |
The name of the host. |
test123**** |
| RequestId |
string |
The request ID. |
D6E068C3-25BC-455A-85FE-45F0B22E12AS |
Examples
Success response
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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.