Microsoft Azure Create API Key API

The CreateApiKey API from Microsoft Azure, for createapikey.

GitHub OpenAPI

Operations 1

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}/providers/Microsoft.Marketplace/keys/{apiKeyAlias}/create Create a Marketplace API key · Microsoft Azure Generates An Api Key, Granting Access To The Full Range Of… #
Ask an LLM
“How do I generate an API key for Azure Marketplace?”
“Does creating a Marketplace API key require my tenant ID?”
Tell an agent
Create a Marketplace API key with alias {apiKeyAlias}.
Create API key {apiKeyAlias} for tenant {tenantId}.

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:microsoft-azure-createapikey-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-createapikey-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft Marketplace Discovery API Keys…
  description: This API is designed to streamline the process of generating designated keys for accessing all Marketplace Catalog APIs. By utilizing a simple POST operation, users can effortlessly generate a unique API key, granting access to Marketplace Catalog APIs from version 2023-01-01 and beyond.
  version: 2023-01-01-preview
servers:
- url: https://management.azure.com
tags:
- name: CreateApiKey
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/keys/{apiKeyAlias}/create:
    post:
      tags:
      - CreateApiKey
      summary: Microsoft Azure Generates An Api Key, Granting Access To The Full Range Of…
      operationId: microsoftAzureCreateapikeyPost
      x-ms-examples:
        Create_Key:
          $ref: ./examples/CreateKey.json
      parameters:
      - name: apiKeyAlias
        in: path
        required: true
        description: Alias for new API Key. This alias must be unique and contain only alphanumeric characters separated by dashes.
        schema:
          type: string
      - name: x-ms-client-tenant-id
        x-originalName: tenantId
        description: The tenant associated with the subscription.
        in: header
        required: true
        schema:
          type: string
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: Returns the newly created API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKey'
        default:
          description: Microsoft.Marketplace error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      description: Needs a more full description created.
components:
  schemas:
    ApiKey:
      type: object
      description: ApiKey object containing both the key and its alias.
      properties:
        keyAlias:
          description: The API key alias.
          type: string
        key:
          description: The API key to be used when calling relevant Discovery endpoints.
          type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow