Skip to main content
DELETE
Cleanup unused container images

Authorizations

Authorization
string
header
required

OAuth2 authentication with JWT tokens

Scopes

images:delete

Query Parameters

dryRun
boolean
default:false

Only report the image tags a cleanup would delete, without deleting anything.

keepLatest
boolean
default:false

Never delete the most recently created tag of each image, so no image is removed completely.

Response

200 - application/json

successful operation

deleted
integer

Number of image tags deleted (with dryRun, to delete)

hasMore
boolean

True when the cleanup stopped on its time limit before every unused image was deleted. Call it again to continue.

images
object[]

Images the cleanup deleted tags from (with dryRun, would delete tags from)

message
string

Result message

remaining
integer

Number of unused images left for a next call