v1

latestOpenAPI 3.0.1Apache 2.02026-07-17111176225.7 KB
Images

Delete image by docker imageId

delete/images/by_id/{imageId}

Path parameters

imageIdstring required

Query parameters

forceboolean

Headers

x-anchore-accountstring

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

Response

Image deletion success

digeststring required
status'not_found' | 'deleting' | 'delete_failed' required

Current status of the image deletion

detailstring

Example response

{
  "digest": "digest",
  "detail": "detail",
  "status": "not_found"
}