• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Glance
  5. Image Tags
  6. Update Image Tag Definition

Update Image Tag Definition

Function Description

This interface is used to add the tag for the specified image.

Interface Format

Method

URI

Description

PUT

/v2/images/{image_id}/tags/{tag_value}

Adds the tag for the specified image.

The value of tag_value is a character string containing 1 to 256 characters.

Restrictions

N/A

Expanded Interface

N/A

Request Parameter

N/A

Response Parameter

N/A

Request Example

PUT
/v2/images/130bdcc1-0c00-4684-8f38-57667baf07b6/tags/cirros

Response Example

N/A

Error Code

N/A