Files
gitlab-ce/doc/api/dependency_proxy.md
GitLab Bot 0a59c95ea6 Add latest changes from gitlab-org/gitlab@master
[skip secret push protection]
2025-10-27 18:06:58 +00:00

1.1 KiB

stage, group, info, title, description
stage group info title description
Package Container Registry To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments Dependency Proxy API Documentation for the REST API for the GitLab dependency proxy.

{{< details >}}

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated

{{< /details >}}

Use this API to manage the dependency proxy.

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 or string yes The ID or URL-encoded path of the group.

Example request:

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