doc-exports/docs/css/api-ref/css_03_0082.html
Zheng, Xiu a217e13b31 CSS API 22.4.1 Version
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com>
Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com>
Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
2023-03-14 13:15:24 +00:00

7.9 KiB

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}
Table 1 Parameters

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 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 Code

Table 2 describes status codes.

Table 2 Status code

Status Code

Encoding

Description

400

BadRequest

Invalid request.

Do not retry the request before modification.

404

NotFound

The requested resource cannot be found.

Do not retry the request before modification.

204

OK

The request is processed successfully.