Images

Delete image by docker imageId

Changed on
delete/images/by_id/{imageId}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /images/by_id/{imageId}
  • Auth: none declared

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"
}

Changes