Back to Gitlabhq

Dependency Proxy API

doc/api/dependency_proxy.md

18.11.2842 B
Original Source

{{< 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.

plaintext
DELETE /groups/:id/dependency_proxy/cache
AttributeTypeRequiredDescription
idinteger or stringyesThe ID or URL-encoded path of the group.

Example request:

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