Unprotect a single branch
PUT
/v3/projects/{id}/repository/branches/{branch}/unprotectUnprotect a single branch
请求参数
Path 参数
id
string
必需
The ID of a project
branch
string
必需
The name of the branch
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Unprotect a single branch
数据结构
Create branch
name
string
可选
commit
string
可选
merged
string
可选
protected
string
可选
developers_can_push
string
可选
developers_can_merge
string
可选
示例
{
"name": "string",
"commit": "string",
"merged": "string",
"protected": "string",
"developers_can_push": "string",
"developers_can_merge": "string"
}
最后修改时间: 1 个月前