gitlab-org--gitlab-foss/doc/api/dependency_proxy.md

1.1 KiB

stage group info
Package Container Registry To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments

Dependency Proxy API (FREE)

Purge the dependency proxy for a group

  • Introduced in GitLab 12.10.
  • Moved from GitLab Premium to GitLab Free in 13.6.

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"