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 a User key with admin privileges to delete applications. See this doc for more info on what that is and how to create one:

2 Likes

When will the ‘Delete App’ button be available in the NR1 UI?
The post mentioned it was coming, but that was 7 months ago.

1 Like

There is no exact timeline at the moment but rest assured that as soon as it is implemented, we will let the community know.

From my point of view this is a functionality that was removed as we’ve been switched over to the NR1 UI for APM…you’d think this would have already been completed before switching existing customers over to the new NR1 UI for APM.

1 Like

I understand the frustration @tywhite, it’s more than fair. For now just keep an eye on the community for any updates!