Issues

移除 Issue 标签。Remove issue label.

从指定 Issue 中移除一个标签,并返回该 Issue 上剩余的标签列表。如果指定的标签不存在于该 Issue 上,将返回 404 错误。 Remove a single label from the specified issue and return the remaining labels. Returns 404 if the specified label does not exist on the issue. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-issue:rw

delete/{repo}/-/issues/{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}/-/issues/{number}/labels/{name}
  • Auth: API key in header Authorization

Path parameters

repostring required

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

numberinteger required

Issue唯一标识编号。

namestring required

标签名称。Tag name.

Response

OK

Changes

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