1
0
forked from docs/doc-exports
doc-exports/docs/css/api-ref/css_03_0082.html
Wuwan, Qi 8675132585 CSS API 23.2.1 20230926
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
2023-10-23 09:34:01 +00:00

8.0 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.

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