Assets

删除 asset 记录。Delete an asset record by ID.

通过 asset 记录 ID 删除附件(Release 和 Commit 附件不适用)。 Delete an asset by record ID (not applicable to release and commit assets). 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:rw

delete/{repo}/-/assets/{assetID}

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}/-/assets/{assetID}
  • Auth: API key in header Authorization

Path parameters

repostring required

仓库。Repo.

assetIDinteger required

资源 ID。Asset ID.

Response

OK

Changes

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