Delete an existing file in repository
DELETE
/v3/projects/{id}/repository/filesDelete an existing file in repository
请求参数
Path 参数
id
string
必需
The project ID
Query 参数
file_path
string
必需
The path to new file. Ex. lib/class.rb
branch_name
string
必需
The name of branch
commit_message
string
必需
Commit Message
author_email
string
可选
The email of the author
author_name
string
可选
The name of the author
示例代码
返回响应
删除成功(204)
HTTP 状态码: 204
内容格式: JSONapplication/json
Delete an existing file in repository
数据结构
object {0}
示例
{}
最后修改时间: 1 个月前