Deletes a container group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
ContainerGroupId | String | Yes | eci-uf6fonnghi50valsr7yw |
The ID of the container group. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the container group. |
Action | String | No | DeleteContainerGroup |
The operation that you want to perform. Set the value toDeleteContainerGroup. |
ClientToken | String | No | 123e4567-e89b-12d3-a456-426655440000 |
The client token that is used to guarantee the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length. For more information, see t10046.dita#reference_zdl_bmg_ydb |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 45D5B0AD-3B00-4A9B-9911-6D5303B06712 |
The unique ID of the request. |
Examples
Sample requests
http(s)://eci.aliyuncs.com/? Action=DeleteContainerGroup
&ContainerGroupId=eci-uf6fonnghi50valsr7yw
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<RequestId>45D5B0AD-3B00-4A9B-9911-6D5303B06712</RequestId>
JSON
format
{
"RequestId":"45D5B0AD-3B00-4A9B-9911-6D5303B06712"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | IncorrectStatus | %s | The error message returned because the status of the specified container group is invalid. |