Skip to content

Dependency Proxy API

DETAILS: Tier: Free, Premium, Ultimate Offering: GitLab.com, Self-managed, GitLab Dedicated

Purge the dependency proxy for a group

Schedules for deletion the cached manifests and blobs for a group. This endpoint requires the Owner role for the group.

DELETE /groups/:id/dependency_proxy/cache
Attribute Type Required Description
id integer/string yes The ID or URL-encoded path of the group owned by the authenticated user

Example request:

curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/groups/5/dependency_proxy/cache"