RepoLabels
删除仓库标签。Delete repository label.
删除指定名称的仓库标签。如果该标签已被 Issue 或合并请求引用,删除后相关引用将自动移除。操作成功后返回 204 无内容响应。 Delete the repository label with the specified name. If the label is referenced by issues 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-notes:rw
delete/{repo}/-/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}/-/labels/{name}
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
namestring required
标签名称。Tag name.
Response
No Content
Changes
No recorded changes to this operation across all 1 revision of this API.