diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-09 18:09:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-09 18:09:29 +0300 |
commit | 209bd8cf1f542f6ba2a069b368a9187faa871e96 (patch) | |
tree | 6b77dc8183135b8316cc70c8dbc9c4e7c18cf05a /doc/api/dependency_proxy.md | |
parent | a9ced7da447785c57477b3d8dbccc73a78cface1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/dependency_proxy.md')
-rw-r--r-- | doc/api/dependency_proxy.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/api/dependency_proxy.md b/doc/api/dependency_proxy.md new file mode 100644 index 00000000000..a379f1481c1 --- /dev/null +++ b/doc/api/dependency_proxy.md @@ -0,0 +1,21 @@ +# Dependency Proxy API **(PREMIUM)** + +## Purge the dependency proxy for a group + +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/11631) in GitLab 12.10. + +Deletes the cached blobs for a group. This endpoint requires group admin access. + +```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" +``` |