# POST /api/v4/projects/{}/merge_requests/{}/approvals stops working

Calls to POST /api/v4/projects/{}/merge_requests/{}/approvals on GitLab API stopped working on May 22, 2023.

- API: GitLab API (gitlab.com)
- Kind: Endpoint removal
- Announced: June 22, 2021
- Takes effect: May 22, 2023
- Calls after that day: fail
- Calls it hits: `POST /api/v4/projects/{}/merge_requests/{}/approvals`
- Source: [Announcement](https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/update/deprecations.md)
- Page: https://www.okapi.bot/providers/gitlab-api/breaking-changes/post-api-v4-projects-merge-requests-approvals-stops-working/

## What to use instead

Create or update merge request approval rules with /api/v4/projects/{id}/merge_requests/{iid}/approval_rules.

## GitLab API's words

> To change the approvals required for a merge request, you should no longer use the `/approvals` API endpoint, which was deprecated in GitLab 14.0.
