Good morning,
When I try to use the API to retrieve the applications and filter the results based on a certain label, I still get results that do not have that label.
cURL:
curl -X GET “https://api.newrelic.com/v2/applications.json” -H “X-Api-Key:(insert API key)” -i -d “filter[labels]=Environment:Production”
Postman:
https://api.newrelic.com/v2/applications.json?filter[labels]=Environment:Production
Other questions I have seen are:
These concern the servers and multiple labels, but I just want one label to work.
How can I apply filtering of one label?