Cancels the upgrade of a specified 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 syntax

POST /api/v2/clusters/ClusterId/upgrade/cancel HTTP/1.1 
Content-Type:application/json

Request parameters

Table 1. Request path parameters
Parameter Type Required Example Description
ClusterId String Yes c106f377e16f34eb1808d6b9362c9****

The ID of the ACK cluster.

Response syntax

HTTP/1.1 200 OK

Response parameters

None

Examples

Sample requests

POST /api/v2/clusters/c106f377e16f34eb1808d6b9362c9****/upgrade/cancel HTTP/1.1 
Content-Type:application/json

Sample success responses

JSON format

HTTP/1.1 200 OK

Error codes

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