Delete registry tags in a project
One step with GitLab. We can help you get access.
Get something done
Delete registry tags in a project
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Container registry API lets you delete registry tags in a project in a single step (DELETE /api/v4/projects/{id}/registry/repositories/{repository_id}/tags). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I clean up old image tags in a project registry repository?
- Can I keep only the latest few tags of a project registry repository?
Say it to your AI assistant
- Delete registry tags matching {name_regex} in {repository_id} of project {id}.
- Keep the {keep_n} most recent tags of {repository_id} in {id} and delete the rest.
For your developer
DELETE /api/v4/projects/{id}/registry/repositories/{repository_id}/tags in GitLab REST Container registry API. Full spec on APIs.io.