Deletes a sub-account.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteAccount

The operation that you want to perform. Set the value to DeleteAccount.

AccountName String Yes admin123

The username of the sub-account.

RegionId String Yes cn-hangzhou

The region ID.

IsShort Boolean No false

Specifies whether to use an abbreviation.

IsServiceUser Boolean No false

Specifies whether the sub-account is a service account.

Response parameters

Parameter Type Example Description
RegionId String cn-hangzhou

The region ID.

RequestId String 8A840E5A-37DC-4178-81C1-367E733DA558

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.