# POST /api/v4/ci/lint stops working

Calls to POST /api/v4/ci/lint on GitLab API stopped working on May 22, 2023.

On May 22, 2023, the endpoint POST /api/v4/ci/lint was removed. Requests sent to this endpoint fail after this date. The change affects all callers attempting to use the un-namespaced CI lint route.

## What to use instead

Validate CI/CD configuration with POST /api/v4/projects/{id}/ci/lint instead.

- API: GitLab API (gitlab.com)
- Kind: Endpoint removal
- Announced: December 22, 2022
- Takes effect: May 22, 2023
- Calls after that day: fail
- Calls it hits: `POST /api/v4/ci/lint`
- Source: [Announcement](https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/update/deprecations.md)
- Verified: November 6, 2026, against GitLab API's own pages
- Page: https://www.okapi.bot/providers/gitlab-api/breaking-changes/post-api-v4-ci-lint-stops-working/

## GitLab API's words

> The `POST ci/lint` API endpoint is deprecated in 15.7, and will be removed in 16.0.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
