• Image Management Service

ims
  1. Help Center
  2. Image Management Service
  3. API Reference
  4. Native OpenStack APIs
  5. Image (Native OpenStack APIs)
  6. Deleting an Image (v1.1 - Abandoned and Not Recommended)

Deleting an Image (v1.1 - Abandoned and Not Recommended)

Function

This API is used to delete an image. If you soft delete the image with a specified ID, the image persists in the database, but in the deleted status.

This API has been discarded. Deleting an Image is recommended.

URI

URI format

DELETE /v1.1/images/{image_id}

Request

Example request

DELETE /v1.1/images/3c3d1d01-b48a-4639-8a88-08be3b9b5d78

Response Parameters

Example response

HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Content-Length: 0
X-Openstack-Request-Id: req-75e9edca-7b43-47da-bdc5-d39be469b72f
Date: Mon, 23 May 2016 02:43:34 GMT

Error Codes

Error Code

Description

404

Not Found

This error code indicates that the specified image does not exist.