This API is used to add tags to a cluster. A cluster can have a maximum of 10 tags.
POST /v1.0/{project_id}/css-cluster/{cluster_id}/tags
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID |
cluster_id |
Yes |
String |
ID of the cluster to which a tag is to be added |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
key |
Yes |
String |
Tag key. The value can contain up to 36 characters. |
value |
Yes |
String |
Tag value. The value contains up to 43 characters. If value is not empty, delete tags by key/value. If value is empty, delete tags by key. |
None
Table 3 describes status codes.