Remove a New Relic integration
Delete a New Relic integration permanently. The integration's webhook_url stops accepting alerts.
DELETE
https://incidents.betterstack.com/api/v3/new-relic-integrations/{id}
id
string
required
The ID of the New Relic integration to remove.
team_id
string
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Authorization
string
required
Bearer $TOKEN
204 No Content
401 Unauthorized
{
"errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
403 Forbidden
{
"errors": "This API token is read-only and cannot be used for write operations."
}
404 Not Found
The New Relic integration is deleted. The response has no body.
The API token is missing or invalid.
The token is read-only, your role doesn't allow the action, or the token can't be used for this API.
The New Relic integration doesn't exist, or the token can't access it.
Example cURL
Delete a New Relic integration