f46438ab1c
Goal is to maintain API specs in the specs repo for each project and to eliminate the image-api repo. Splits up original v2 API document into multiple files. Change-Id: I7b6fbb1ee4a9a2e04395a7aa942d9ebdb011cc85
424 B
424 B
Delete an Image
DELETE /v2/images/<IMAGE_ID>
Encode the ID of the image into the request URI. Request body is ignored.
Images with the 'protected' attribute set to true (boolean) cannot be deleted and the response will have an HTTP 403 status code. You must first set the 'protected' attribute to false (boolean) and then perform the delete.
The response will be empty with an HTTP 204 status code.