Delete project approval rule
delete_project_approval_ruleDelete a GitLab project approval rule by confirming the rule ID and acknowledging the governance change to prevent accidental removal.
Instructions
Delete a project approval rule only after reading it and explicitly acknowledging the destructive governance change.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"approval_rule_id": "<approval_rule_id>",
"acknowledge_policy_change": "<acknowledge_policy_change>"
},
"name": "delete_project_approval_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | GitLab project ID or full path such as group/project. | |
| approval_rule_id | Yes | ||
| acknowledge_policy_change | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |