• Elastic Volume Service

evs
  1. Help Center
  2. Elastic Volume Service
  3. API Reference
  4. API v2
  5. EVS Tag
  6. Batch Deleting Tags for an EVS Resource (Deprecated)

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

    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

    map

    Yes

    Specifies the key-value pair of the tag.

  • Description of the request header parameter

    Parameter

    Type

    Mandatory

    Description

    Content-Type

    map

    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

Returned Values

  • Normal

    200

Error Codes

For details, see Error Codes.