Pulls
移除合并请求标签。Remove pull request label.
从指定合并请求中移除一个指定名称的标签。移除成功后返回该合并请求上剩余的标签列表。如果指定的标签不存在于该合并请求上,将返回 404 错误。 Remove a label with the specified name from the merge request. Returns the remaining label list on success. Returns 404 if the specified label does not exist on the merge request. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-pr:rw
delete/{repo}/-/pulls/{number}/labels/{name}
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/{name}
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
numberstring required
Pull唯一标识编号。
namestring required
标签名称。Tag name.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.