Hello!
I’m trying to remove not reporting APM app, but get an error:
curl -X DELETE ‘https://api.eu.newrelic.com/v2/applications/124721469.json’ \
-H ‘X-Api-Key:{my-api-key}’ -i
HTTP/1.1 409 Conflict
Status: 409 Conflict
{“error”:{“title”:“Cannot delete an application that has reported data within the past 12 hours”}}
But I’m sure that the app is not reporting more than the past 12 hours, the app is grey and via api returns the status “reporting”:false
The list endpoint:
curl -X GET ‘https://api.eu.newrelic.com/v2/applications.json’ \
-H 'X-Api-Key:{my-api-key} -i
HTTP/1.1 200 OK
{
“applications”:[
{
“id”:124721469,
“name”:“tes”,
“language”:“java”,
“health_status”:“gray”,
“reporting”:false,
“settings”:{
“app_apdex_threshold”:0.5,
“end_user_apdex_threshold”:7.0,
“enable_real_user_monitoring”:true,
“use_server_side_config”:false
},
“links”:{
“application_instances”:[ ],
“servers”:[ ],
“application_hosts”:[]
}
},
…
]
}