Skip to content

Images service API reference

See https://docs.openstack.org/api-ref/image/.

These methods allow you to perform various operations on images, such as listing, creating, updating, and deleting images, as well as managing image data and sharing images with other projects. The {image_id} and {member_id} in the URLs are placeholders that should be replaced with the actual IDs of the image and the member (project) respectively.

List images

Bash
GET /v2/images

Show image details

Bash
GET /v2/images/{image_id}

Create an image

Bash
POST /v2/images

Update an image

Bash
PATCH /v2/images/{image_id}

Delete an image

Bash
DELETE /v2/images/{image_id}

Upload image data

Bash
PUT /v2/images/{image_id}/file

Download image data

Bash
GET /v2/images/{image_id}/file

List image members (shared images)

Bash
GET /v2/images/{image_id}/members

Add an image member (share an image)

Bash
POST /v2/images/{image_id}/members

Show image member details

Bash
GET /v2/images/{image_id}/members/{member_id}

Update image member (update sharing status)

Bash
PUT /v2/images/{image_id}/members/{member_id}

Remove an image member (unshare an image)

Bash
DELETE /v2/images/{image_id}/members/{member_id}