Help Center/ MapReduce Service/ API Reference/ API V1.1/ Tag Management APIs/ Deleting Tags from a Specified Cluster
Updated on 2024-09-30 GMT+08:00

Deleting Tags from a Specified Cluster

Function

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

Constraints

None

Debugging

You can debug this API in API Explorer. Automatic authentication is supported. API Explorer can automatically generate sample SDK code and provide the sample SDK code debugging.

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.