GitLab Push rules API
Use this API to manage [push rules](https://docs.gitlab.com/user/project/repository/push_rules/) for a project, and [group push rules](https://docs.gitlab.com/user/project/repository/push_rules/#group-push-rules) that apply to newly created projects in a group. Managing group push rules requires the Owner role for the group, or administrator access to the instance. > [!note] > GitLab uses [RE2 syntax](https://github.com/google/re2/wiki/Syntax) for all regular expressions in push rules.