Update project approval rule
update_project_approval_ruleUpdate a GitLab project approval rule after reviewing the current rule and acknowledging the change. Specify project, rule ID, required approvals, and set acknowledge_policy_change to true.
Instructions
Update a project approval rule only after reading the current rule and explicitly acknowledging the governance change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| user_ids | No | ||
| group_ids | No | ||
| report_type | No | ||
| approval_rule_id | Yes | ||
| approvals_required | Yes | ||
| protected_branch_ids | No | ||
| acknowledge_policy_change | Yes | ||
| applies_to_all_protected_branches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |