Releases
删除版本附件。Delete release asset.
删除指定版本下的单个附件。删除后该附件将无法恢复。操作成功后返回 204 无内容响应。 Delete a single asset from the specified release. The asset cannot be recovered after deletion. Returns 204 No Content on success. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-release:rw
delete/{repo}/-/releases/{release_id}/assets/{asset_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}/assets/{asset_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.
asset_idstring required
附件唯一标识符。Attachment unique identifier.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.