All Products
Search
Document Center

ApsaraDB for MyBase:DeleteDedicatedHostAccount

Last Updated:Aug 28, 2026

Deletes a dedicated host account.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

DedicatedHostId

string

Yes

The dedicated host ID. Call DescribeDedicatedHosts to query host IDs.

ch-bp10a5id3boqi****

AccountName

string

Yes

The host account name.

  • Contains only lowercase letters, digits, and underscores (_).

  • Must start with a lowercase letter and end with a lowercase letter or digit.

  • Must be 2–16 characters long.

test

RegionId

string

No

The region ID of the dedicated host. Call DescribeDedicatedHostAttribute to query region IDs.

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.