Delete a cached image
DELETE/images/{ref}
path parameters
object
refstringrequiredImage reference (nginx:alpine) or converted digest.
Responses
204 No contentNo Content
404 Not foundNot Found
ErrorResponse
errorstring501 Not Implemented
ErrorResponse
errorstringAuthentication
bearerAuthHTTP bearer. Daemon API key. Omit on a keyless loopback daemon.Request
▍DELETE/images/{ref}
curl '/images/{ref}' \
-X DELETEconst response = await fetch("/images/{ref}", {
method: "DELETE",
});
const data = await response.json();import requests
response = requests.delete(
"/images/{ref}",
)
data = response.json()Response
204 No content
No response body.