I have created an Event Hub in Azure.
I am trying to gets an Event Hubs description for the specified Event Hub, by following the docs https://docs.microsoft.com/en-us/rest/api/eventhub/eventhubs/get.
When I am hitting the below URL via POSTMAN by replacing the values as specified in docs:
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}?api-version=2017-04-01
But I am getting the following error: -
{
"error": {
"code": "AuthenticationFailed",
"message": "Authentication failed. The 'Authorization' header is missing."
}
}
Any idea how to get the description about event hub?