Image Tags
Adds and deletes image tags
Adds a tag to an image
Authorizations
X-Auth-TokenstringRequired
PCD Identity Service token authentication
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
No content
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 /glance/v2/images/{image_id}/tags/{tag} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
No content
Deletes a tag from an image
Authorizations
X-Auth-TokenstringRequired
PCD Identity Service token authentication
Path parameters
image_idstring · uuidRequired
The UUID of the image
tagstring · max: 255Required
The tag to delete
Responses
204
Tag deleted successfully
No content
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 /glance/v2/images/{image_id}/tags/{tag} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?
