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 Parameter description

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.

Table 2 Status codes

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.