Image Tags

Adds and deletes image tags

Add image tag

put

Adds a tag to an image

Authorizations
X-Auth-TokenstringRequired

OpenStack Keystone authentication token

Path parameters
image_idstring · uuidRequired

The UUID of the image

tagstring · max: 255Required

The tag to add (max 255 characters)

Responses
put
/images/{image_id}/tags/{tag}
PUT /v2/images/{image_id}/tags/{tag} HTTP/1.1
Host: image.example.com
X-Auth-Token: YOUR_API_KEY
Accept: */*

No content

Delete image tag

delete

Deletes a tag from an image

Authorizations
X-Auth-TokenstringRequired

OpenStack Keystone authentication token

Path parameters
image_idstring · uuidRequired

The UUID of the image

tagstring · max: 255Required

The tag to delete

Responses
delete
/images/{image_id}/tags/{tag}
DELETE /v2/images/{image_id}/tags/{tag} HTTP/1.1
Host: image.example.com
X-Auth-Token: YOUR_API_KEY
Accept: */*

No content

Last updated

Was this helpful?