Microsoft Azure API Management Subscription API

The Subscription API from Microsoft Azure API Management — 8 operation(s) for subscription.

GitHub OpenAPI
Business capability
Developer Identity & Credential Management BC-4270.40

Operations 19

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

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions List all subscriptions on the service · Subscription list #
Ask an LLM
“Which subscriptions exist across my whole API Management service instance?”
“Can I see every product subscription on the service, not just one workspace's?”
Tell an agent
List every subscription on my API Management service instance.
Show me all service-level subscriptions so I can audit who has access.
HEAD /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid} Get a subscription's ETag version · Subscription get entity tag #
Ask an LLM
“Can I read a service subscription's ETag without fetching the full record?”
“What is the current entity version of a subscription before I update it?”
Tell an agent
Check the ETag of the service-level subscription I name.
Confirm a service subscription exists by reading its entity state header only.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid} Get a service-level subscription · Subscription get #
Ask an LLM
“How do I look up the details of one subscription on my API Management service?”
“What scope, state and owner does a particular service subscription have?”
Tell an agent
Get the service-level subscription with the ID I give you.
Fetch one subscription's details from the service, not from a workspace.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid} Subscribe a user to a product · Subscription create or update #
Ask an LLM
“How do I subscribe a developer to a product on my API Management service?”
“Can I create a new service-level subscription for a user, or overwrite an existing one?”
Tell an agent
Create a service-level subscription that gives a user access to a product.
Create or replace the subscription with the ID I name at the service level.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid} Update a service-level subscription · Subscription update #
Ask an LLM
“Can I change just some details of an existing service subscription, like its state or name?”
“Is there a way to patch a subscription on the service without recreating it?”
Tell an agent
Patch the existing service-level subscription I name with new details.
Update the display name or state of a subscription on the service.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid} Delete a service-level subscription · Subscription delete #
Ask an LLM
“How can I remove a developer's subscription from the API Management service?”
“What happens to a service-level subscription's access once I delete it?”
Tell an agent destructive · confirm first
Delete the service-level subscription with the ID I give you.
Remove this subscription from the service so its keys stop working.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/regeneratePrimaryKey Regenerate a subscription's primary key · Subscription regenerate primary key #
Ask an LLM
“How do I rotate the primary key on a subscription if it leaked?”
“Will regenerating the primary key leave the secondary key untouched?”
Tell an agent destructive · confirm first
Regenerate the primary key of the subscription I name.
Rotate this subscription's primary key and invalidate the old one.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/regenerateSecondaryKey Regenerate a subscription's secondary key · Subscription regenerate secondary key #
Ask an LLM
“Can I rotate only the secondary key on a subscription while clients use the primary?”
“What do I call to issue a fresh secondary subscription key?”
Tell an agent destructive · confirm first
Regenerate the secondary key of the subscription I name.
Rotate this subscription's secondary key while keeping the primary in place.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/listSecrets Show a subscription's keys · Subscription list secrets #
Ask an LLM
“Where do I find the primary and secondary keys for a subscription?”
“Can I retrieve a subscription's key values through the management API?”
Tell an agent
Show me the primary and secondary keys of the subscription I name.
Retrieve the secret keys for this API Management subscription.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}/subscriptions/{sid} Get a subscription belonging to a user · User subscription get #
Ask an LLM
“How can I look up one subscription through the user who owns it?”
“Which product does a specific user's subscription point to?”
Tell an agent
Get the subscription I name from under the user who owns it.
Look up one of this user's subscriptions by its ID.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/subscriptions List subscriptions in a workspace · Workspace subscription list #
Ask an LLM
“Which subscriptions have been created inside one API Management workspace?”
“Can I list only the subscriptions scoped to a single workspace?”
Tell an agent
List every subscription in the workspace I name.
Show me all workspace-scoped subscriptions for my team's workspace.
HEAD /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/subscriptions/{sid} Get a workspace subscription's ETag · Workspace subscription get entity tag #
Ask an LLM
“Can I read the ETag of a workspace subscription without its full body?”
“What entity version does a workspace subscription currently have?”
Tell an agent
Check the ETag of the workspace subscription I name.
Confirm a subscription exists in my workspace using only its entity state.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/subscriptions/{sid} Get a subscription in a workspace · Workspace subscription get #
Ask an LLM
“What are the details of one subscription inside a workspace?”
“Can I read a workspace subscription's state and scope by its ID?”
Tell an agent
Get the workspace subscription with the ID I give you.
Fetch one subscription's details from inside my workspace.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/subscriptions/{sid} Subscribe a user to a workspace product · Workspace subscription create or update #
Ask an LLM
“How do I subscribe a user to a product that lives in a workspace?”
“Can I create or overwrite a subscription scoped to a single workspace?”
Tell an agent
Create a workspace subscription that gives a user access to a workspace product.
Create or replace the subscription I name inside my workspace.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/subscriptions/{sid} Update a subscription in a workspace · Workspace subscription update #
Ask an LLM
“Can I patch a workspace subscription's name or state without replacing it?”
“Is it possible to change details on a subscription scoped to a workspace?”
Tell an agent
Patch the workspace subscription I name with new details.
Update the state of a subscription inside my workspace.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/subscriptions/{sid} Delete a subscription in a workspace · Workspace subscription delete #
Ask an LLM
“How can I remove a subscription that belongs to a workspace?”
“Does deleting a workspace subscription cut off that subscriber's keys?”
Tell an agent destructive · confirm first
Delete the workspace subscription with the ID I give you.
Remove this subscription from my workspace.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/subscriptions/{sid}/regeneratePrimaryKey Workspace subscription regenerate primary key #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/subscriptions/{sid}/regenerateSecondaryKey Workspace subscription regenerate secondary key #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/subscriptions/{sid}/listSecrets Workspace subscription list secrets #

Documentation

Specifications

SDKs

Code Examples

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/ai-gateway-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/ai-gateway-chat-completion-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/ai-gateway-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/ai-gateway-completion-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/ai-gateway-embedding-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/ai-gateway-embedding-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/ai-gateway-mcp-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-azure-api-management/json-schema/ai-gateway-mcp-response-schema.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-chat-completion-request-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-chat-completion-response-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-completion-request-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-completion-response-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-embedding-request-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-embedding-response-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-mcp-request-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-azure-api-management/json-structure/ai-gateway-mcp-response-structure.json

Other Resources

🔗
SDKs
https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/apimanagement
🔗
SDKs
https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/apimanagement
🔗
SDKs
https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/apimanagement
🔗
SDKs
https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/apimanagement
🔗
SDKs
https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/resourcemanager/apimanagement
🔗
Tutorials
https://learn.microsoft.com/en-us/azure/api-management/transform-api
🔗
PolicySnippets
https://github.com/Azure/api-management-policy-snippets
🔗
Tools
https://github.com/Azure/azure-api-management-policy-toolkit
🔗
HelmChart
https://github.com/Azure/api-management-self-hosted-gateway/tree/main/helm-charts/azure-api-management-gateway
🔗
MCPServerOverview
https://learn.microsoft.com/en-us/azure/api-management/mcp-server-overview
🔗
ExportRESTToMCP
https://learn.microsoft.com/en-us/azure/api-management/export-rest-mcp-server
🔗
ProxyExistingMCP
https://learn.microsoft.com/en-us/azure/api-management/expose-existing-mcp-server
🔗
A2AAgentAPI
https://learn.microsoft.com/en-us/azure/api-management/agent-to-agent-api
🔗
TokenLimitPolicy
https://learn.microsoft.com/en-us/azure/api-management/llm-token-limit-policy
🔗
SemanticCaching
https://learn.microsoft.com/en-us/azure/api-management/azure-openai-enable-semantic-caching
🔗
ContentSafetyPolicy
https://learn.microsoft.com/en-us/azure/api-management/llm-content-safety-policy
🔗
ReferenceArchitecture
https://github.com/Azure-Samples/ai-hub-gateway-solution-accelerator
🔗
JSONLD
https://artifacts.apis.io/microsoft-azure-api-management/json-ld/microsoft-azure-api-management-ai-gateway-context.jsonld
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-chat-completion-request-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-chat-completion-response-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-completion-request-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-completion-response-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-embedding-request-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-embedding-response-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-mcp-request-example.json
🔗
Examples
https://artifacts.apis.io/microsoft-azure-api-management/examples/ai-gateway-mcp-response-example.json
🔗
Tutorials
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-developer-portal-customize

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-api-management:microsoft-azure-api-management-subscription-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-api-management-subscription-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Api Management Subscription API
  version: '2024-05-01'
  description: 'Operations tagged Subscription across 3 of this provider''s published API definitions: microsoft-azure-api-management-apimanagement-resource-manager-Microsoft.ApiManagement-ApiManagement-stable-2024-05-01-apimsubscriptions.json, microsoft-azure-api-management-apimanagement-resource-manager-Microsoft.ApiManagement-ApiManagement-stable-2024-05-01-apimusers.json, microsoft-azure-api-management-apimanagement-resource-manager-Microsoft.ApiManagement-ApiManagement-stable-2024-05-01-apimworkspaces.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:


# --- truncated at 32 KB (37 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-azure-api-management/openapi/microsoft-azure-api-management-subscription-api-openapi.yml