Pulls

移除合并请求评审人。Remove pull request reviewer.

从指定合并请求中移除一个或多个评审人。移除成功后返回更新后的合并请求详情。 Remove one or more reviewers from the specified merge request. Returns updated merge request details on success. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-pr:rw

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

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}/reviewers
  • Auth: API key in header Authorization

Path parameters

repostring required

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

numberstring required

Pull唯一标识编号。

Request body

reviewersstring[]

合并请求的评审人用户列表,最多支持8个。Merge request reviewer user list (max 8).

Response

OK

Changes

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