Releases
删除版本。Delete release.
删除指定的版本发布记录。删除版本不会删除对应的 Git 标签,标签仍会保留在仓库中。如需同时删除标签,需单独调用删除标签接口。 Delete the specified release. Note: Deleting a release does not delete the corresponding Git tag; the tag will remain in the repository. To delete the tag as well, call the delete tag endpoint separately. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-release:rw
delete/{repo}/-/releases/{release_id}
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}/-/releases/{release_id}
- Auth: API key in header Authorization
Path parameters
repostring required
不带.git后缀的仓库名称。格式:组织名称/仓库名称。Repository name without .git suffix. Format: org/repo.
release_idstring required
版本唯一标识符。Version unique identifier.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.