Pulls
Issues

删除上传附件。Delete uploaded file.

删除 UploadFiles 上传的附件。 Delete a file uploaded via UploadFiles. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:rw

delete/{repo}/-/files/{filePath}

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

Path parameters

repostring required

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

filePathstring required

文件访问链接的files后半部分,比如链接是 https://cnb.cool/cnb/feedback/-/files/abc/1234abcd/test.zip,filePath 就是 abc/1234abcd/test.zip。

Response

OK

Changes

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