Deletes a dedicated host account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cddc:DeleteDedicatedHostAccount |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DedicatedHostId |
string |
Yes |
The ID of the dedicated host. You can call the DescribeDedicatedHosts operation to query the ID. |
ch-bp10a5id3boqi**** |
| AccountName |
string |
Yes |
The name of the dedicated host account.
|
test |
| RegionId |
string |
No |
The region ID of the dedicated host. You can call the DescribeDedicatedHostAttribute operation to query the region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D6E068C3-25BC-455A-85FE-45F0B22E12AS |
Examples
Success response
JSON format
{
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22E12AS"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | HostInfo.NotFound | Specified hostinfo is not found. | |
| 404 | InvalidAccountName.NotFound | Specified account name does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.