Relic Solution: Deleting Applications in New Relic One

Currently there is no ‘Delete App’ button in the New Relic One UI. This is coming, but until then, below is some information that may help you!

Note: This post is sharing the same information found on our docs site here: https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/remove-applications-new-relic

APM

APM apps can be deleted via the API, but first they must have stopped reporting to New Relic for long enough for their UI colour code status to turn Grey (where previously green / amber / red).

Once they have turned Grey, you can run the Delete API call here: https://rpm.newrelic.com/api/explore/applications/delete

curl -X DELETE 'https://api.newrelic.com/v2/applications/{id}.json' \
     -H 'X-Api-Key:{api_key}' -i 

There’s a short overview of how to disable each language agent here: https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/remove-applications-new-relic

Browser

There are two scenarios here - either you have set up your Browser apps via APM Injection, or via the Copy/Paste method. Below are your options for each:

Copy Paste
There is currently no API for deleting Copy Paste instrumented browser apps. These will need to stop reporting (you should remove the NR JS snippet from the sites) for 93 days before they are automatically removed from the UI.

APM Injected.
Again, this app needs to have stopped reporting. Once it has, deleting the APM app via the API as described above will also remove the Browser App.

Mobile

There is currently no API for deleting Mobile apps. These will need to stop reporting (you should remove the NR SDKs from your apps. For more information, see the iOS and Android install docs.) After 93 days they are automatically removed from the UI.


Caveats

DELETE API calls require an Admin API key - so you do need admin privileges in your accounts.

1 Like