Image Tags
Adds and deletes image tags
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
204
Tag added successfully
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
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
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
204
Tag deleted successfully
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
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?
