• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Glance
  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 (Native OpenStack API) is recommended.

URI

URI format

DELETE /v1.1/images/{image_id}

Request

  • Example request
    DELETE https://{Endpoint}/v1.1/images/3c3d1d01-b48a-4639-8a88-08be3b9b5d78

Response

  • 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.