Deletes a host account.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DeleteDedicatedHostAccount |
The operation that you want to perform. Set the value to DeleteDedicatedHostAccount. |
| AccountName | String | Yes | test |
The name of the host account.
|
| DedicatedHostId | String | Yes | ch-bp10a5id3boqi**** |
The ID of the host. You can call the DescribeDedicatedHosts operation to query the host ID. |
| RegionId | String | Yes | cn-hangzhou |
The region ID of the host. You can call the DescribeDedicatedHostAttribute operation to query the region ID. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | D6E068C3-25BC-455A-85FE-45F0B22E12AS |
The ID of the request. |
Examples
Sample requests
http(s)://cddc.aliyuncs.com/?Action=DeleteDedicatedHostAccount
&AccountName=test
&DedicatedHostId=ch-bp10a5id3boqi****
&RegionId=cn-hangzhou
&<Common request parameters>Sample success responses
XML format
<DeleteDedicatedHostAccountResponse>
<RequestId>D6E068C3-25BC-455A-85FE-45F0B22E12AS</RequestId>
</DeleteDedicatedHostAccountResponse>JSON format
{
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22E12AS"
}Error codes
For a list of error codes, visit the API Error Center.