2020-10-26 17:08:22 -04:00
---
2020-11-17 10:09:28 -05:00
stage: Package
group: Package
2020-11-26 01:09:20 -05:00
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-10-26 17:08:22 -04:00
---
2020-11-13 16:09:31 -05:00
# Dependency Proxy API
2020-04-09 11:09:29 -04:00
## Purge the dependency proxy for a group
2020-11-13 16:09:31 -05:00
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/11631) in GitLab 12.10.
2021-01-29 16:09:34 -05:00
> - [Moved](https://gitlab.com/gitlab-org/gitlab/-/issues/273655) to [GitLab Free](https://about.gitlab.com/pricing/) in GitLab 13.6.
2020-04-09 11:09:29 -04:00
2021-05-31 14:09:56 -04:00
Deletes the cached manifests and blobs for a group. This endpoint requires the [Owner role ](../user/permissions.md )
for the group.
2020-04-09 11:09:29 -04:00
2020-12-04 16:09:29 -05:00
WARNING:
2020-11-10 19:08:58 -05:00
[A bug exists ](https://gitlab.com/gitlab-org/gitlab/-/issues/277161 ) for this API.
2020-04-09 11:09:29 -04:00
```plaintext
DELETE /groups/:id/dependency_proxy/cache
```
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the group ](README.md#namespaced-path-encoding ) owned by the authenticated user |
Example request:
```shell
curl --request DELETE --header "PRIVATE-TOKEN: < your_access_token > " "https://gitlab.example.com/api/v4/groups/5/dependency_proxy/cache"
```