Microsoft Azure Registrations API

The Registrations API from Microsoft Azure, for registrations.

GitHub OpenAPI

Operations 8

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/{resourceGroup}/providers/Microsoft.AzureStack/registrations List Azure Stack registrations in a resource group · Get Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers… #
Ask an LLM
“Which Azure Stack registrations exist in this resource group?”
“Can I see every Azure Stack registration scoped to one resource group?”
Tell an agent
List the Azure Stack registrations in resource group {resourceGroup}.
Show all Azure Stack registrations scoped to {resourceGroup}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations List Azure Stack registrations in a subscription · Get Subscriptions Subscriptionid Providers Microsoft Azurestack Registrations #
Ask an LLM
“What Azure Stack registrations do I have across my whole subscription?”
“Is there a subscription-wide view of Azure Stack registrations?”
Tell an agent
List every Azure Stack registration under my subscription.
Show subscription-level Azure Stack registrations across all resource groups.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName} Get an Azure Stack registration · Get Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers… #
Ask an LLM
“What properties does my Azure Stack registration have?”
“Can I read the details of one Azure Stack registration?”
Tell an agent
Get the properties of Azure Stack registration {registrationName} in resource group {resourceGroup}.
Show me the details of Azure Stack registration {registrationName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName} Delete an Azure Stack registration · Delete Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers… #
Ask an LLM
“How do I unregister an Azure Stack by deleting its registration?”
“Can I remove an Azure Stack registration I no longer need?”
Tell an agent destructive · confirm first
Delete Azure Stack registration {registrationName} from resource group {resourceGroup}.
Remove registration {registrationName} so the Azure Stack is unregistered.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName} Register an Azure Stack with a registration token · Put Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers… #
Ask an LLM
“How do I register my Azure Stack using a registration token?”
“Can I re-submit an Azure Stack registration to replace it?”
Tell an agent
Create Azure Stack registration {registrationName} in {resourceGroup} from registration token {token}.
Create or overwrite Azure Stack registration {registrationName}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName} Patch an Azure Stack registration · Patch Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers… #
Ask an LLM
“Can I patch an existing Azure Stack registration with a new token?”
“What's the way to update a registration without recreating it?”
Tell an agent
Patch Azure Stack registration {registrationName} in {resourceGroup} with fresh registration token {token}.
Update existing registration {registrationName} in place rather than replacing it.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey Get the activation key for an Azure Stack · Post Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers… #
Ask an LLM
“Where do I get the activation key for my Azure Stack registration?”
“Can I retrieve an Azure Stack activation key again after registering?”
Tell an agent
Get the Azure Stack activation key for registration {registrationName} in {resourceGroup}.
Fetch the activation key I need to activate the Azure Stack behind registration {registrationName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement Enable remote management for an Azure Stack · Post Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers… #
Ask an LLM
“How do I turn on remote management for a device under my Azure Stack registration?”
“Can remote management be enabled through the registration?”
Tell an agent
Enable remote management for the device under Azure Stack registration {registrationName} in {resourceGroup}.
Turn on remote device management for registration {registrationName}.

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-registrations-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-registrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2020-06-01-preview
  title: Microsoft Azure Azure Stack Azure Bridge Client…
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Registrations
paths:
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations:
    get:
      x-ms-examples:
        Returns a list of all registrations.:
          $ref: examples/Registration/List.json
      tags:
      - Registrations
      description: Returns a list of all registrations.
      operationId: microsoftAzureRegistrationsList
      parameters:
      - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
      - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
      - $ref: AzureStack.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistrationList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: AzureStack.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Get Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers…
  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations:
    get:
      x-ms-examples:
        Returns a list of all registrations under current subscription.:
          $ref: examples/Registration/ListBySubscription.json
      tags:
      - Registrations
      description: Returns a list of all registrations under current subscription.
      operationId: microsoftAzureRegistrationsListbysubscription
      parameters:
      - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
      - $ref: AzureStack.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistrationList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: AzureStack.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Get Subscriptions Subscriptionid Providers Microsoft Azurestack Registrations
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}
  : get:
      x-ms-examples:
        Returns the properties of an Azure Stack registration.:
          $ref: examples/Registration/Get.json
      tags:
      - Registrations
      description: Returns the properties of an Azure Stack registration.
      operationId: microsoftAzureRegistrationsGet
      parameters:
      - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
      - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
      - $ref: AzureStack.json#/parameters/RegistrationNameParameter
      - $ref: AzureStack.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Registration'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: AzureStack.json#/definitions/ErrorResponse
      summary: Get Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers…
    delete:
      x-ms-examples:
        Delete the requested Azure Stack registration.:
          $ref: ./examples/Registration/Delete.json
      tags:
      - Registrations
      description: Delete the requested Azure Stack registration.
      operationId: microsoftAzureRegistrationsDelete
      parameters:
      - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
      - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
      - $ref: AzureStack.json#/parameters/RegistrationNameParameter
      - $ref: AzureStack.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
        '204':
          description: NO CONTENT
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: AzureStack.json#/definitions/ErrorResponse
      summary: Delete Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers…
    put:
      x-ms-examples:
        Create or update an Azure Stack registration.:
          $ref: examples/Registration/Put.json
      tags:
      - Registrations
      description: Create or update an Azure Stack registration.
      operationId: microsoftAzureRegistrationsCreateorupdate
      parameters:
      - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
      - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
      - $ref: AzureStack.json#/parameters/RegistrationNameParameter
      - $ref: AzureStack.json#/parameters/ApiVersionParameter
      - $ref: '#/components/parameters/NewRegistrationParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Registration'
        '201':
          description: CREATED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Registration'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: AzureStack.json#/definitions/ErrorResponse
      summary: Put Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers…
    patch:
      x-ms-examples:
        Patch an Azure Stack registration.:
          $ref: examples/Registration/Patch.json
      tags:
      - Registrations
      description: Patch an Azure Stack registration.
      operationId: microsoftAzureRegistrationsUpdate
      parameters:
      - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
      - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
      - $ref: AzureStack.json#/parameters/RegistrationNameParameter
      - $ref: AzureStack.json#/parameters/ApiVersionParameter
      - $ref: '#/components/parameters/NewRegistrationParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Registration'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: AzureStack.json#/definitions/ErrorResponse
      summary: Patch Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey
  : post:
      x-ms-examples:
        Returns Azure Stack Activation Key.:
          $ref: ./examples/Registration/Post.json
      tags:
      - Registrations
      description: Returns Azure Stack Activation Key.
      operationId: microsoftAzureRegistrationsGetactivationkey
      parameters:
      - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
      - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
      - $ref: AzureStack.json#/parameters/RegistrationNameParameter
      - $ref: AzureStack.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActivationKeyResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: AzureStack.json#/definitions/ErrorResponse
      summary: Post Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement
  : post:
      x-ms-examples:
        Returns empty response for successful action..:
          $ref: examples/RemoteManagement/Post.json
      tags:
      - Registrations
      description: Enables remote management for device under the Azure Stack registration.
      operationId: microsoftAzureRegistrationsEnableremotemanagement
      parameters:
      - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
      - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
      - $ref: AzureStack.json#/parameters/RegistrationNameParameter
      responses:
        '200':
          description: OK
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: AzureStack.json#/definitions/ErrorResponse
      summary: Post Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers…
components:
  parameters:
    NewRegistrationParameter:
      description: Registration token
      name: token
      in: body
      schema:
        $ref: '#/components/schemas/RegistrationParameter'
      required: true
      x-ms-parameter-location: method
  schemas:
    RegistrationList:
      description: Pageable list of registrations.
      type: object
      properties:
        nextLink:
          description: URI to the next page.
          type: string
        value:
          description: List of Registrations
          type: array
          items:
            $ref: '#/components/schemas/Registration'
    ActivationKeyResult:
      description: The resource containing the Azure Stack activation key.
      type: object
      properties:
        activationKey:
          description: Azure Stack activation key.
          type: string
    Registration:
      description: Registration information.
      type: object
      properties:
        properties:
          description: Registration resource.
          x-ms-client-flatten: true
          $ref: '#/components/schemas/RegistrationProperties'
      allOf:
      - $ref: AzureStack.json#/definitions/TrackedResource
    RegistrationParameter:
      description: Registration resource
      type: object
      properties:
        properties:
          description: Properties of the Azure Stack registration resource
          x-ms-client-flatten: true
          $ref: '#/components/schemas/RegistrationParameterProperties'
        location:
          description: Location of the resource.
          type: string
          enum:
          - global
          x-ms-enum:
            name: Location
            modelAsString: true
          x-ms-mutability:
          - create
          - read
      required:
      - properties
      - location
    RegistrationParameterProperties:
      description: Properties of the Azure Stack registration resource
      type: object
      properties:
        registrationToken:
          description: The token identifying registered Azure Stack
          type: string
      required:
      - registrationToken
    RegistrationProperties:
      description: Properties portion of the registration resource.
      type: object
      properties:
        objectId:
          description: The object identifier associated with the Azure Stack connecting to Azure.
          type: string
        cloudId:
          description: The identifier of the registered Azure Stack.
          type: string
        billingModel:
          description: Specifies the billing mode for the Azure Stack registration.
          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: Authorization uses an Azure Active Directory OAuth2 flow.
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Registration.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)