The $filter parameter doesn't work in the Consumption Usage API

Sneha Das (External) 0 Reputation points
2024-01-22T09:56:49.0233333+00:00

I am trying to filter the response returned from the consumption API but the $filter parameter isn't working. Filtering on Resource Group :
https://management.azure.com/subscriptions/{subscription ID}/providers/Microsoft.Consumption/usageDetails?$filter=resourceGroup eq 'myRGName'&api-version=2023-05-01

I tried with various API versions but to no help. Please suggest!

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,798 questions
0 comments No comments
{count} votes