Unprotect repository branches
DELETE
/api/v4/groups/{id}/protected_branches/{name}
Unprotects a specified protected branch Unprotect multiple branches by using a wildcard in the name.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” id
required
string
The ID or URL-encoded path of a group
name
required
string
The name of the protected branch
Example
mainResponses
Section titled “ Responses ”No Content
Bad Request
401 Unauthorized
404 ProtectedBranch Not Found