文档

删除文件

更新时间:

该接口用于删除文件内容

请求方式DELETE/api/v3/projects/[ProjectId]/repository/files

请求Action:DeleteFile

请求参数:

参数名

类型

说明

是否必须

默认值

ProjectId

long

代码库id

BranchName

string

分支名称

FilePath

string

文件路径

CommitMessage

string

提交信息

返回 body :

{
   "ErrorCode": "",
   "ErrorMessage": "",
   "RequestId": "",
   "Success": true,
   "Result": {
  "BranchName": "",
  "FilePath": "",
    }
}

返回结果说明:

参数名

类型

说明

BranchName

string

分支名称

FilePath

string

文件路径

  • 本页导读 (0)
文档反馈