You can call CancelClusterUpgrade to cancel the upgrade of a 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 the common request header only. For more information, see Common parameters.

Request syntax

POST /api/v2/clusters/[ClusterId]/upgrade/cancel HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
ClusterId String Yes c106f377e16f34eb1808d6b9362c9****

The ID of the cluster.

Response parameters

Parameter Type Example Description
RequestId String 4aeecca2-ae8e-41b1-b5c6-56c937f80a68

The ID of the request.

Examples

Sample requests

POST /api/v2/clusters/[ClusterId]/upgrade/cancel HTTP/1.1
Common request header
{
"ClusterId": "c106f377e16f34eb1808d6b9362c9****"
}

Sample success responses

XML format

<RequestId>4aeecca2-ae8e-41b1-b5c6-56c937f80a68</RequestId>

JSON format

{"RequestId":"4aeecca2-ae8e-41b1-b5c6-56c937f80a68"}

Error codes

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