How to clean GitLab Container registry through API

Hi guys,

I would like to know how I can clean up a projects container registry through the GitLab API or the registry API?

E.g. I want to delete all containers / images with a name containing the string ‘test’ through the API.

Thanks!

1 Like

I’m interested in this as well. As far as I can tell, direct API access to the Gitlab Registry is not enabled.