- API Reference
- Cluster Management APIs
- Tag Management APIs
- Deleting Specified Cluster Tags
Deleting Specified Cluster Tags¶
Function¶
This API is used to delete specified cluster tags.
URI¶
DELETE /v1.0/{project_id}/css-cluster/{cluster_id}/tags/{key}
Parameter | Mandatory | Type | Description |
---|---|---|---|
project_id | Yes | String | Project ID For details, see Obtaining a Project ID and Name. |
cluster_id | Yes | String | ID of the cluster to which a tag is to be deleted |
key | Yes | String | Tag key The field cannot be left blank or be an empty character string. |
Request¶
None
Response¶
None
Example¶
Example request
DELETE /v1.0/458d905f22da49c39f609e3347d65723/css-cluster/4f3deec3-efa8-4598-bf91-560aad1377a3/tags/key1
Response example
None
Status Codes¶
Table 2 describes the status code.
Status Code | Message | Description |
---|---|---|
400 | BadRequest | Invalid request. Modify the request instead of retrying. |
404 | NotFound | The requested resource cannot be found. Modify the request instead of retrying. |
204 | OK | The request is processed. |
last updated: 2024-12-10 14:37 UTC - commit: 2a9f8089412369728193cbc131d7e0af2c478ee2
Page Contents