Deletes an application from a Container Service for Kubernetes (ACK) cluster.

Debugging

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 headers

Request syntax

DELETE /pop/v5/k8s/acs/k8s_apps HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
AppId String Yes dbac7e3c-****-49bc-b6de-ffc550018b45

The ID of the application that you want to delete. You can call the ListApplication operation to query the application ID.

Response parameters

Parameter Type Example Description
ChangeOrderId String 0a34531a-****-49dc-8e7f-0cbbbfa12cf0

The ID of the change process for this operation. If an instance where the application is deployed is running or a Server Load Balancer (SLB) instance is bound to the application, this operation generates a change process ID and deletes the application. You can call the GetChangeOrderInfo operation to query the progress of this deletion operation. You can determine whether the operation is successful based on the value of the Code parameter.

Code Integer 200

The HTTP status code.

Message String success

The returned message.

RequestId String a5281053-08e4-47a5-b2ab-5c0323de7b5a

The ID of the request.

Examples

Sample requests

DELETE /pop/v5/k8s/acs/k8s_apps HTTP/1.1
Common request header
{
  "AppId": "dbac7e3c-****-49bc-b6de-ffc550018b45"
}

Sample success responses

XML format

<Message>success</Message>
<ChangeOrderId>0a34531a-****-49dc-8e7f-0cbbbfa12cf0</ChangeOrderId>
<Code>200</Code>

JSON format

{
    "Message": "success",
    "ChangeOrderId": "0a34531a-****-49dc-8e7f-0cbbbfa12cf0",
    "Code": 200
}

Error codes

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