All Products
Search
Document Center

ApsaraDB for MyBase:DeleteDedicatedHostAccount

Last Updated:Mar 01, 2024

Deletes a host account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DedicatedHostIdstringYes

The host ID. You can call the DescribeDedicatedHosts operation to query the host ID.

ch-bp10a5id3boqi****
AccountNamestringYes

The name of the host account.

  • The name can contain lowercase letters, digits, and underscores (_).
  • The name must start with a lowercase letter and end with a lowercase letter or a digit.
  • The name must be 2 to 16 characters in length.
test
RegionIdstringNo

The region ID of the host. You can call the DescribeDedicatedHostAttribute operation to query the region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

D6E068C3-25BC-455A-85FE-45F0B22E12AS

Examples

Sample success responses

JSONformat

{
  "RequestId": "D6E068C3-25BC-455A-85FE-45F0B22E12AS"
}

Error codes

HTTP status codeError codeError message
404HostInfo.NotFoundSpecified hostinfo is not found.
404InvalidAccountName.NotFoundSpecified account name does not exist.

For a list of error codes, visit the Service error codes.