Updated on 2024-11-29 GMT+08:00

Deleting Tags from a Specified Cluster

Function

This API is used to delete tags from a specified cluster.

URI

  • Format

    DELETE /v1.1/{project_id}/clusters/{cluster_id}/tags/{key}

  • Parameter description
    Table 1 URI parameters

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Explanation

    Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

    Constraints

    N/A

    Value range

    The value must consist of 1 to 64 characters. Only letters and digits are allowed.

    Default value

    N/A

    cluster_id

    Yes

    String

    Explanation

    Cluster ID For details about how to obtain the cluster ID, see Obtaining a Cluster ID.

    Constraints

    N/A

    Value range

    The value can contain 1 to 64 characters, including only letters, digits, underscores (_), and hyphens (-).

    Default value

    N/A

    key

    Yes

    String

    Explanation

    Tag key.

    Constraints

    N/A

    Value range

    N/A

    Default value

    N/A

Request Parameters

None

Response Parameters

None

Example Request

DELETE /v1.1/{project_id}/clusters/{cluster_id}/tags/{key}

Example Response

None

Status Codes

See Status Codes.

Error Codes

See Error Codes.