Azure Notification Hubs Hubs API

The Hubs API from Azure Notification Hubs — 9 operation(s) for hubs.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Push Notifications AE-150.30

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability Check if a notification hub name is available · Checks the availability of the given notificationHub in a namespace #
Ask an LLM
“Is a notification hub name still available in my namespace?”
“Can I check hub availability before creating it?”
Tell an agent
Check whether notification hub {name} is available in namespace {namespaceName}.
Test hub name {name} in resource group {resourceGroupName}, subscription {subscriptionId}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName} Get a notification hub · Gets the notification hub #
Ask an LLM
“How do I view the settings of one notification hub?”
“What endpoints and tags does a hub have?”
Tell an agent
Get notification hub {notificationHubName} in namespace {namespaceName}.
Show the endpoints configured on hub {notificationHubName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName} Create or update a notification hub · Creates/Update a NotificationHub in a namespace #
Ask an LLM
“How do I create a new notification hub in a namespace?”
“Can I change a hub's SKU when I create it?”
Tell an agent
Create notification hub {notificationHubName} in namespace {namespaceName} at {location}.
Create hub {notificationHubName} in {resourceGroupName}, subscription {subscriptionId}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName} Patch a notification hub's properties · Patch a NotificationHub in a namespace #
Ask an LLM
“Can I change a hub's tags without recreating it?”
“How do I patch a notification hub's properties?”
Tell an agent
Patch notification hub {notificationHubName} in namespace {namespaceName} with tags {tags}.
Update the properties of hub {notificationHubName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName} Delete a notification hub · Deletes a notification hub associated with a namespace #
Ask an LLM
“How do I delete a notification hub?”
“Can I remove a hub from a namespace?”
Tell an agent destructive · confirm first
Delete notification hub {notificationHubName} from namespace {namespaceName}.
Remove hub {notificationHubName} in {resourceGroupName}, subscription {subscriptionId}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs List notification hubs in a namespace · Lists the notification hubs associated with a namespace #
Ask an LLM
“Which notification hubs exist in my namespace?”
“Can I page through all hubs in a namespace?”
Tell an agent
List notification hubs in namespace {namespaceName}.
Show the first {top} hubs in {resourceGroupName}, subscription {subscriptionId}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend Send a test push notification · Test send a push notification #
Ask an LLM
“How do I send a test push notification to a hub?”
“Can I verify my hub's endpoints work with a debug send?”
Tell an agent
Send a test push to notification hub {notificationHubName} in namespace {namespaceName}.
Debug-send a push to hub {notificationHubName} in {resourceGroupName}, subscription {subscriptionId}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName} Create or update a hub authorization rule · Creates/Updates an authorization rule for a NotificationHub #
Ask an LLM
“How do I create a new authorization rule for a notification hub?”
“Can I add a rule that grants listen and manage access to a hub?”
Tell an agent
Create authorization rule {authorizationRuleName} on notification hub {notificationHubName} in {namespaceName}.
Create hub rule {authorizationRuleName} in {resourceGroupName}, subscription {subscriptionId}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName} Delete a notification hub authorization rule · Deletes a notificationHub authorization rule #
Ask an LLM
“How do I remove an authorization rule from a notification hub?”
“Can I delete a hub rule I no longer use?”
Tell an agent destructive · confirm first
Delete authorization rule {authorizationRuleName} from notification hub {notificationHubName} in {namespaceName}.
Remove hub rule {authorizationRuleName} in {resourceGroupName}, subscription {subscriptionId}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName} Get a notification hub authorization rule · Gets an authorization rule for a NotificationHub by name #
Ask an LLM
“What permissions does a specific hub authorization rule grant?”
“How do I view one hub authorization rule?”
Tell an agent
Get authorization rule {authorizationRuleName} on notification hub {notificationHubName} in {namespaceName}.
Show the permissions of hub rule {authorizationRuleName} in {resourceGroupName}, subscription {subscriptionId}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules List a notification hub's authorization rules · Gets the authorization rules for a NotificationHub #
Ask an LLM
“Which authorization rules exist on my notification hub?”
“What permissions are granted to each hub rule?”
Tell an agent
List authorization rules on notification hub {notificationHubName} in {namespaceName}.
Show all hub rules in {resourceGroupName}, subscription {subscriptionId}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/listKeys Get a hub's connection strings · Gets the Primary and Secondary ConnectionStrings to the NotificationHub #
Ask an LLM
“How do I get the primary and secondary connection strings for a hub?”
“Where do I find the hub's connection strings for my app?”
Tell an agent
Get the connection strings for authorization rule {authorizationRuleName} on notification hub {notificationHubName} in {namespaceName}.
Show hub {notificationHubName} connection strings in {resourceGroupName}, subscription {subscriptionId}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys Regenerate a hub's authorization rule keys · Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule #
Ask an LLM
“How do I rotate the primary or secondary key of a hub authorization rule?”
“Can I regenerate a hub rule's keys without recreating it?”
Tell an agent destructive · confirm first
Regenerate the {policyKey} key for rule {authorizationRuleName} on notification hub {notificationHubName} in {namespaceName}.
Rotate hub {notificationHubName} rule {authorizationRuleName} keys in {resourceGroupName}, subscription {subscriptionId}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials List a hub's PNS credentials · Lists the PNS Credentials associated with a notification hub #
Ask an LLM
“Which push notification service credentials are configured on my hub?”
“How do I view the PNS credentials for a notification hub?”
Tell an agent
List the PNS credentials for notification hub {notificationHubName} in {namespaceName}.
Show hub {notificationHubName} PNS credentials in {resourceGroupName}, subscription {subscriptionId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-notification-hubs:microsoft-azure-notification-hubs-hubs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-notification-hubs-hubs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NotificationHubs RP Client Hubs API
  description: Microsoft Notification Hubs Resource Provider REST API.
  version: '2023-09-01'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:


# --- truncated at 32 KB (39 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-azure-notification-hubs/openapi/microsoft-azure-notification-hubs-hubs-api-openapi.yml