Help us learn about your current experience with the documentation. Take the survey.

依赖代理 API

  • 版本:Free, Premium, Ultimate
  • 产品:GitLab.com, GitLab Self-Managed, GitLab Dedicated

清除群组的依赖代理缓存

计划删除某个群组的缓存 manifest 和 blob。使用此端点需要拥有该群组的 Owner 角色。

DELETE /groups/:id/dependency_proxy/cache
属性 类型 必需 描述
id integer/string 群组的 ID 或 URL 编码路径

示例请求:

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