# /v2/labels stops working

Calls to /v2/labels* on New Relic REST API stop working on July 31, 2027.

On July 31, 2027, New Relic REST API endpoints matching /v2/labels* reach end of life. After that day, requests to these endpoints will no longer be available and will fail.

## What to use instead

Manage entity tags through the NerdGraph GraphQL API instead using taggingAddTagsToEntity and taggingDeleteTagFromEntity.

- API: New Relic REST API (api.newrelic.com)
- Kind: Version retirement
- Announced: July 28, 2026
- Takes effect: July 31, 2027
- Calls after that day: fail
- Calls it hits: `/v2/labels*`
- Source: [Announcement](https://docs.newrelic.com/eol/2026/07/eol-07-31-26-rest-api-v2/)
- Verified: November 6, 2026, against New Relic REST API's own pages
- Page: https://www.okapi.bot/providers/new-relic-rest-api/breaking-changes/v2-labels-stops-working/

## New Relic REST API's words

> Effective July 31, 2027, the New Relic REST API v2 (excluding some Alerts endpoints) and the Deployments v0 API will reach end of life (EOL). After this date, these API endpoints will no longer be available.

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