Updated on 2023-06-20 GMT+08:00

Deleting a Cluster Tag

Function

This API is used to delete a cluster tag.

URI

DELETE /v1.0/{project_id}/{resource_type}/{cluster_id}/tags/{key}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

cluster_id

Yes

String

ID of the cluster that you want to delete tags from.

resource_type

Yes

String

Resource type. Currently, its value can only be css-cluster.

key

Yes

String

Name of the tag you want to delete.

Request Parameters

None

Response Parameters

None

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

204

Request succeeded.

400

Invalid request.

The client should modify the request instead of re-initiating it.

404

The requested resource could not be found.

The client should not repeat the request without modifications.

Error Codes

See Error Codes.