Deletes a host account.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DedicatedHostId | string | Yes | The host ID. You can call the DescribeDedicatedHosts operation to query the host ID. | ch-bp10a5id3boqi**** |
AccountName | string | Yes | The name of the host account.
| test |
RegionId | string | No | The region ID of the host. You can call the DescribeDedicatedHostAttribute operation to query the region ID. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22E12AS"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
404 | HostInfo.NotFound | Specified hostinfo is not found. |
404 | InvalidAccountName.NotFound | Specified account name does not exist. |
For a list of error codes, visit the Service error codes.