You can call UpgradeCluster to upgrade 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 parameter types

This operation uses common request parameters only. For more information, see Common parameters.

Request syntax

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

Request parameters

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

The ID of the cluster.

version String No 1.14.8-aliyun.1

The target version of the upgrade.

Examples

Sample requests

POST /api/v2/clusters/[ClusterId]/upgrade HTTP/1.1
Common request parameters
{
"ClusterId": "c82e6987e2961451182edacd74faf****"
}

Sample success responses

JSON format

{}

Error codes

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