Help Center> Elastic Volume Service> API Reference (Paris Region)> APIs> Tag Management> Batch Deleting Tags for an EVS Resource (Deprecated)
Updated on 2024-03-26 GMT+08:00

Batch Deleting Tags for an EVS Resource (Deprecated)

Function

This API is used to batch delete tags for an EVS resource.

This API has been deprecated. Use another API. For details, see Batch Deleting Tags of a Specified EVS Disk.

Constraints

None

URI

  • URI format

    POST /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/action

  • Parameter description

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Specifies the project ID.

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

    resource_type

    Yes

    Specifies the resource type. The value can be volumes, snapshots, or backups.

    resource_id

    Yes

    Specifies the resource ID.

Request

  • Parameter description

    Parameter

    Type

    Mandatory

    Description

    os-delete_tags

    Object

    Yes

    Specifies the key-value pair of the tag.

  • Description of the request header parameter

    Parameter

    Type

    Mandatory

    Description

    Content-Type

    Object

    Yes

    Specifies the type. The value can be application/json.

  • Example request
    {
        "os-delete_tags": {
            "key_0": "value_0", 
            "key_1": "value_1"
        }
    }

Response

None

Status Codes

  • Normal

    200

Error Codes

For details, see Error Codes.