• Elastic Volume Service

evs
  1. Help Center
  2. Elastic Volume Service
  3. API Reference
  4. API v2
  5. EVS Tag
  6. Deleting Tags of an EVS Resource by Key

Deleting Tags of an EVS Resource by Key

Function

This API is used to delete tags of an EVS resource by key.

Constraints

None

URI

  • URI format

    DELETE /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/{key}

  • Parameter description

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Specifies the project ID.

    resource_type

    Yes

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

    resource_id

    Yes

    Specifies the resource ID.

    key

    Yes

    Specifies the key of the tag.

Request

None

Response

  • Parameter description

    None

  • Example response

    None

    or

    {
        "error": {
            "message": "XXXX", 
            "code": "XXX"
        }
    }

    In the preceding example, error indicates a general error, for example, badRequest or itemNotFound. An example is provided as follows:

    {
        "itemNotFound": {
            "message": "XXXX", 
            "code": "XXX"
        }
    }

Returned Values

  • Normal

    200

Error Codes

For details, see Error Codes.