You can call this operation to delete an elastic container instance.


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 No DeleteContainerGroup

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

ContainerGroupId String Yes eci-2zelg8vwnlzdhf8hv****

The ID of the elastic container instance.

RegionId String Yes cn-hangzhou

The region ID of the elastic container instance.

ClientToken String No 123e4567-e89b-12d3-a456-426655440000

The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.

Response parameters

Parameter Type Example Description
RequestId String 45D5B0AD-3B00-4A9B-9911-6D5303B06712

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

HTTP status code Error code Error message Description
400 IncorrectStatus %s The error message returned because the status of the specified elastic container instance is invalid.
400 OperationConflict Request was denied due to conflict with a previous request. The error message returned because the request conflicts with a previous request and is denied.

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