Gitlab Merge Request Default Approval Rule Cannot Be Deleted by Admin/Sudo user in gitlab-ee:12.4.2-ee.0
curl -i --request GET --header "PRIVATE-TOKEN: $token" http://localhost:8880/api/v4/projects/1/merge_requests/57/approval_rules ; echo
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 11 Nov 2019 00:56:51 GMT
Content-Type: application/json
Content-Length: 179
Connection: keep-alive
Cache-Control: max-age=0, private, must-revalidate
Etag: W/"cfd444a42e44afbf08db9e004c82b6ec"
Vary: Origin
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-Id: Eme1hN2Prx7
X-Runtime: 0.071417
Strict-Transport-Security: max-age=31536000
Referrer-Policy: strict-origin-when-cross-origin
[{"id":89,"name":"All Members","rule_type":"any_approver","eligible_approvers":[],"approvals_required":0,"users":[],"groups":[],"contains_hidden_groups":false,"source_rule":null}]
curl -i --request DELETE --header "PRIVATE-TOKEN: $token" http://localhost:8880/api/v4/projects/1/merge_requests/57/approval_rules/89 ; echo
HTTP/1.1 403 Forbidden
Server: nginx
Date: Mon, 11 Nov 2019 00:58:19 GMT
Content-Type: application/json
Content-Length: 26
Connection: keep-alive
Cache-Control: no-cache
Vary: Origin
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-Id: tBeCzV3P4Va
X-Runtime: 0.049123
{"message":["Prohibited"]}