# POST /deployments.xml stops working

Calls to POST /deployments.xml on New Relic REST API stop working on July 31, 2027.

On July 31, 2027, the POST /deployments.xml endpoint will reach end of life. After this date, calls to this endpoint will no longer be available and will fail.

## What to use instead

Record deployments using the changeTrackingCreateDeployment mutation in the NerdGraph GraphQL API instead.

- API: New Relic REST API (api.newrelic.com)
- Kind: Endpoint removal
- Announced: July 28, 2026
- Takes effect: July 31, 2027
- Calls after that day: fail
- Calls it hits: `POST /deployments.xml`
- 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/post-deployments-xml-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
