Skip to content

Reset approvals for a merge request

PUT
/api/v4/projects/{id}/merge_requests/{merge_request_iid}/reset_approvals

Resets all approvals for a specified merge request. Available only to bot users with a valid project or group token. Human users receive a 401 Unauthorized response.

id
required
One of:
string

The ID or URL-encoded path of the project

merge_request_iid
required
integer

The IID of a merge request

OK

Bad Request

Unauthorized

Not found