Modifies the labels of a specified Container Service for Kubernetes (ACK) cluster.
Debugging
Request syntax
POST /clusters/ClusterId/tags HTTP/1.1
Content-Type:application/json
[ {
"key" : "String",
"value" : "String"
} ]
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
ClusterId | String | Yes | c106f377e16f34eb1808d6b9362c9**** |
The ID of the ACK cluster. |
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Array of tag | No |
The data of the labels that you want to modify. |
Response syntax
HTTP/1.1 200 OK
Response parameters
None
Examples
Sample requests
POST /clusters/c106f377e16f34eb1808d6b9362c9****/tags HTTP/1.1
Content-Type:application/json
[ {
"key" : "env",
"value" : "prod"
} ]
Sample success responses
JSON
format
HTTP/1.1 200 OK
Error codes
For a list of error codes, visit the API Error Center.