Skip to content

Retrieve MR approval settings for a group

GET
/api/v4/groups/{id}/merge_request_approval_setting

Retrieves the merge request approval settings for a specified group.

id
required
string

The ID or URL-encoded path of a group

OK

Media type application/json
object
allow_author_approval
boolean
allow_committer_approval
boolean
allow_overrides_to_approver_list_per_merge_request
boolean
retain_approvals_on_push
boolean
selective_code_owner_removals
boolean
require_password_to_approve
boolean
require_reauthentication_to_approve
boolean
Example
{
"allow_author_approval": true,
"allow_committer_approval": true,
"allow_overrides_to_approver_list_per_merge_request": true,
"retain_approvals_on_push": true,
"selective_code_owner_removals": true,
"require_password_to_approve": true,
"require_reauthentication_to_approve": true
}

Bad Request

Forbidden

Not Found