Pulls

删除全部合并请求标签。Clear all pull request labels.

移除指定合并请求上的所有标签。操作成功后返回 204 无内容响应。此操作不可逆,执行后该合并请求将不再关联任何标签。 Remove all labels from the specified merge request. Returns 204 No Content on success. This operation is irreversible; after execution, the merge request will no longer be associated with any labels. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-pr:rw

delete/{repo}/-/pulls/{number}/labels

Request

  • Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
  • URL: https://api.cnb.cool/{repo}/-/pulls/{number}/labels
  • Auth: API key in header Authorization

Path parameters

repostring required

不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.

numberstring required

Pull唯一标识编号。

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.