# /api/v4/projects/{}/managed_licenses stops working

Calls to /api/v4/projects/{}/managed_licenses* on GitLab API stopped working on May 22, 2023.

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

## What to use instead

Enforce license approvals with a License Approval policy (security policies) instead.

No REST endpoint replaces it: license approvals move to License Approval policies.

## GitLab API's words

> The Managed Licenses API is now deprecated and is scheduled for removal in GitLab 16.0.
