
Explanation

Box 1: https://management.contoso.com
Do not include the region1 in the URI.
Use management not adminmanagentment (see below).
Note: Tenant resource usage API reference
A tenant can use the tenant APIs to view the tenant's own resource usage data. These APIs are consistent with the Azure usage APIs.
You can use the Windows PowerShell cmdlet Get-UsageAggregates to get usage data, just like in Azure.
API call
Request
The request gets consumption details for the requested subscriptions and for the requested time frame. There is no request body.
Method Request URI
GET
https://{armendpoint}/subscriptions/{subId}/providers/Microsoft.Commerce/usageAggregates?reportedStartTim Parameters
* Armendpoint
Azure Resource Manager endpoint of your Azure Stack Hub environment. The Azure Stack Hub convention is that the name of Azure Resource Manager endpoint is in the format https://management.{domain-name}. For example, for the development kit, the domain name is local.azurestack.external, then the Resource Manager endpoint is https://management.local.azurestack.external.
Box 2: 22f2d01-...
Use the tenant subscription identifier.
Parameters continued
* subId
Subscription ID of the user who is making the call. You can use this API only to query for a single subscription's usage. Providers can use the provider resource usage API to query usage for all tenants.
Reference:
https://learn.microsoft.com/en-us/azure-stack/operator/azure-stack-tenant-resource-usage-api