Delete image manifest Run in API Explorer
Delete an image manifest from a repository by digest.
Only untagged or unreferenced manifests can be deleted. If the manifest is still referenced by a tag or another image, the registry will return 403 Forbidden
.
This operation requires delete
access to the repository.
DELETE
/v2/{name}/manifests/{reference}
cURL
# DELETE a manifest by digest
curl -X DELETE \
-H "Authorization: Bearer $TOKEN" \
https://registry-1.docker.io/v2/yourusername/helloworld/manifests/sha256:abc123def456...
curl \
--request DELETE 'https://registry-1.docker.io/v2/yourusername/helloworld/manifests/sha256:abc123def456...' \
--header "Authorization: string"