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

This operation uses only common request headers. For more information, see the topic about common request parameters.

Request syntax

DELETE /pop/v5/k8s/acs/k8s_apps HTTP/1.1

Request parameters

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

The ID of the application to be deleted. 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 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 that indicates whether the call is successful.

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

The unique ID of the request.

Examples

Sample requests

DELETE /pop/v5/k8s/acs/k8s_apps HTTP/1.1
Common request headers
{
  "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.