Microsoft Azure Broker Authorization API

The BrokerAuthorization API from Microsoft Azure, for brokerauthorization.

GitHub OpenAPI

Operations 5

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.IoTOperationsMQ/mq/{mqName}/broker/{brokerName}/authorization List MQ broker authorization policies · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which authorization resources are attached to my IoT MQ broker?”
“How do I see all the access rules configured on a broker?”
Tell an agent
List authorization resources for broker {brokerName} in MQ {mqName}.
Show every authorization policy on broker {brokerName} of {mqName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/broker/{brokerName}/authorization/{authorizationName} Get an MQ broker authorization policy · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I view the rules in one broker authorization resource?”
“What does a specific IoT MQ authorization policy allow?”
Tell an agent
Get authorization {authorizationName} on broker {brokerName} in MQ {mqName}.
Show the rules of broker authorization {authorizationName} for {brokerName} in {mqName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/broker/{brokerName}/authorization/{authorizationName} Create an MQ broker authorization policy · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I add an authorization policy to an IoT MQ broker?”
“What extended location do I need when creating a broker authorization resource?”
Tell an agent
Create authorization {authorizationName} on broker {brokerName} in MQ {mqName} at extended location {extendedLocation}.
Create broker authorization {authorizationName} for {brokerName} in {mqName} with properties {properties}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/broker/{brokerName}/authorization/{authorizationName} Update an MQ broker authorization policy · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change the tags or rules on an existing broker authorization?”
“How do I patch an IoT MQ authorization resource that's already deployed?”
Tell an agent
Update the tags on authorization {authorizationName} of broker {brokerName} in {mqName} to {tags}.
Patch broker authorization {authorizationName} on {brokerName} in {mqName} with properties {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/broker/{brokerName}/authorization/{authorizationName} Delete an MQ broker authorization policy · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I remove an authorization policy from an IoT MQ broker?”
“Can I delete one broker authorization resource by name?”
Tell an agent destructive · confirm first
Delete authorization {authorizationName} from broker {brokerName} in MQ {mqName}.
Remove broker authorization policy {authorizationName} on {brokerName} of {mqName}.

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-brokerauthorization-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-brokerauthorization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft.IoTOperationsMQ management…
  version: 2023-10-04-preview
  description: Microsoft.IoTOperationsMQ Resource Provider management API.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: BrokerAuthorization
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/broker/{brokerName}/authorization
  : get:
      operationId: microsoftAzureBrokerauthorizationListbybrokerresource
      tags:
      - BrokerAuthorization
      description: List BrokerAuthorizationResource resources by BrokerResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: mqName
        in: path
        description: Name of MQ resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: brokerName
        in: path
        description: Name of MQ broker resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrokerAuthorizationResourceListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        BrokerAuthorization_ListByBrokerResource:
          $ref: ./examples/BrokerAuthorization_ListByBrokerResource_MaximumSet_Gen.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/broker/{brokerName}/authorization/{authorizationName}
  : get:
      operationId: microsoftAzureBrokerauthorizationGet
      tags:
      - BrokerAuthorization
      description: Get a BrokerAuthorizationResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: mqName
        in: path
        description: Name of MQ resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: brokerName
        in: path
        description: Name of MQ broker resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: authorizationName
        in: path
        description: Name of MQ broker/authorization resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrokerAuthorizationResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        BrokerAuthorization_Get:
          $ref: ./examples/BrokerAuthorization_Get_MaximumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      operationId: microsoftAzureBrokerauthorizationCreateorupdate
      tags:
      - BrokerAuthorization
      description: Create a BrokerAuthorizationResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: mqName
        in: path
        description: Name of MQ resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: brokerName
        in: path
        description: Name of MQ broker resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: authorizationName
        in: path
        description: Name of MQ broker/authorization resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Resource 'BrokerAuthorizationResource' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrokerAuthorizationResource'
        '201':
          description: Resource 'BrokerAuthorizationResource' create operation succeeded
          headers:
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrokerAuthorizationResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        BrokerAuthorization_CreateOrUpdate:
          $ref: ./examples/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrokerAuthorizationResource'
        description: Resource create parameters.
        required: true
    patch:
      operationId: microsoftAzureBrokerauthorizationUpdate
      tags:
      - BrokerAuthorization
      description: Update a BrokerAuthorizationResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: mqName
        in: path
        description: Name of MQ resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: brokerName
        in: path
        description: Name of MQ broker resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: authorizationName
        in: path
        description: Name of MQ broker/authorization resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrokerAuthorizationResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        BrokerAuthorization_Update:
          $ref: ./examples/BrokerAuthorization_Update_MaximumSet_Gen.json
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrokerAuthorizationResourceUpdate'
        description: The resource properties to be updated.
        required: true
    delete:
      operationId: microsoftAzureBrokerauthorizationDelete
      tags:
      - BrokerAuthorization
      description: Delete a BrokerAuthorizationResource
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: mqName
        in: path
        description: Name of MQ resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: brokerName
        in: path
        description: Name of MQ broker resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: authorizationName
        in: path
        description: Name of MQ broker/authorization resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        BrokerAuthorization_Delete:
          $ref: ./examples/BrokerAuthorization_Delete_MaximumSet_Gen.json
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    BrokerAuthorizationResourceUpdate:
      type: object
      description: The type used for update operations of the BrokerAuthorizationResource.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
        properties:
          $ref: '#/components/schemas/BrokerAuthorizationResourceUpdateProperties'
          x-ms-client-flatten: true
    ResourceInfoDefinition:
      type: object
      description: ResourceInfoDefinition properties of Basic Rule. This defines the objects that represent the actions or topics, such as - method.Connect, method.Publish, etc.
      properties:
        method:
          $ref: '#/components/schemas/ResourceInfoDefinitionMethods'
          description: 'The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.'
        topics:
          type: array
          description: A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
          items:
            type: string
      required:
      - method
    PrincipalDefinition:
      type: object
      description: PrincipalDefinition properties of Basic Rule
      properties:
        attributes:
          type: array
          description: A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
          default: []
          items:
            type: object
            additionalProperties:
              type: string
          x-ms-identifiers: []
        clientids:
          type: array
          description: A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
          items:
            type: string
        usernames:
          type: array
          description: A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
          items:
            type: string
    BrokerAuthorizationResource:
      type: object
      description: MQ broker/authorization resource
      properties:
        properties:
          $ref: '#/components/schemas/BrokerAuthorizationProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
          x-ms-mutability:
          - read
          - create
        extendedLocation:
          $ref: '#/components/schemas/ExtendedLocationProperty'
          description: Extended Location
          x-ms-mutability:
          - read
          - create
      required:
      - extendedLocation
      allOf:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource
    AuthorizationConfig:
      type: object
      description: Broker AuthorizationConfig properties
      properties:
        enableCache:
          type: boolean
          description: Enable caching of the authorization rules.
          default: true
        rules:
          type: array
          description: Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
          items:
            $ref: '#/components/schemas/AuthorizationBasicRule'
          x-ms-identifiers: []
    ExtendedLocationType:
      type: string
      description: The enum defining type of ExtendedLocation accepted.
      enum:
      - CustomLocation
      x-ms-enum:
        name: ExtendedLocationType
        modelAsString: true
        values:
        - name: CustomLocation
          value: CustomLocation
          description: CustomLocation type
    BrokerAuthorizationProperties:
      type: object
      description: Broker Resource properties
      properties:
        authorizationPolicies:
          $ref: '#/components/schemas/AuthorizationConfig'
          description: The list of authorization policies supported by the Authorization Resource.
        listenerRef:
          type: array
          description: The array of listener Resources it supports.
          items:
            type: string
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The status of the last operation.
          readOnly: true
      required:
      - authorizationPolicies
      - listenerRef
    BrokerAuthorizationResourceUpdateProperties:
      type: object
      description: The updatable properties of the BrokerAuthorizationResource.
      properties:
        authorizationPolicies:
          $ref: '#/components/schemas/AuthorizationConfig'
          description: The list of authorization policies supported by the Authorization Resource.
        listenerRef:
          type: array
          description: The array of listener Resources it supports.
          items:
            type: string
    ProvisioningState:
      type: string
      description: The enum defining status of resource.
      enum:
      - Succeeded
      - Failed
      - Canceled
      - Provisioning
      - Updating
      - Deleting
      - Accepted
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: Resource has been created.
        - name: Failed
          value: Failed
          description: Resource creation failed.
        - name: Canceled
          value: Canceled
          description: Resource creation was canceled.
        - name: Provisioning
          value: Provisioning
          description: Resource is getting provisioned.
        - name: Updating
          value: Updating
          description: Resource is Updating.
        - name: Deleting
          value: Deleting
          description: Resource is Deleting.
        - name: Accepted
          value: Accepted
          description: Resource has been Accepted.
    ResourceInfoDefinitionMethods:
      type: string
      description: ResourceInfoDefinition methods allowed
      enum:
      - Connect
      - Publish
      - Subscribe
      x-ms-enum:
        name: ResourceInfoDefinitionMethods
        modelAsString: true
        values:
        - name: Connect
          value: Connect
          description: Allowed Connecting to Broker
        - name: Publish
          value: Publish
          description: Allowed Publishing to Broker
        - name: Subscribe
          value: Subscribe
          description: Allowed Subscribing to Broker
    ExtendedLocationProperty:
      type: object
      description: ExtendedLocation properties
      properties:
        name:
          type: string
          description: The name of the extended location.
        type:
          $ref: '#/components/schemas/ExtendedLocationType'
          description: Type of ExtendedLocation.
      required:
      - name
      - type
    BrokerAuthorizationResourceListResult:
      type: object
      description: The response of a BrokerAuthorizationResource list operation.
      properties:
        value:
          type: array
          description: The BrokerAuthorizationResource items on this page
          items:
            $ref: '#/components/schemas/BrokerAuthorizationResource'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    AuthorizationBasicRule:
      type: object
      description: BasicRules of AuthorizationConfig Polar rules are not supported
      properties:
        brokerResources:
          type: array
          description: This subfield defines the broker resources that the Basic Rule is applied on.
          items:
            $ref: '#/components/schemas/ResourceInfoDefinition'
          x-ms-identifiers: []
        principals:
          $ref: '#/components/schemas/PrincipalDefinition'
          description: This subfield defines the identities that represent the clients.
      required:
      - brokerResources
      - principals
  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.