Microsoft Azure Consumer Invitation API

The ConsumerInvitation API from Microsoft Azure, for consumerinvitation.

GitHub OpenAPI

Operations 3

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 /providers/Microsoft.DataShare/listInvitations List my Data Share invitations · Microsoft Azure List The Invitations #
Ask an LLM
“Which Azure Data Share invitations have been sent to me?”
“Can I page through pending data share invitations?”
Tell an agent
List my data share invitations.
Get the next page of invitations using skip token {skip_token}.
GET /providers/Microsoft.DataShare/locations/{location}/consumerInvitations/{invitationId} Get a Data Share invitation · Microsoft Azure Gets The Invitation Identified By Invitationid #
Ask an LLM
“How do I view the details of one data share invitation I received?”
“What does a consumer invitation tell me about the share being offered?”
Tell an agent
Get invitation {invitation_id} in location {location}.
Show who sent data share invitation {invitation_id} and what it offers, in {location}.
POST /providers/Microsoft.DataShare/locations/{location}/rejectInvitation Reject a Data Share invitation · Microsoft Azure Rejects The Invitation Identified By Invitationid #
Ask an LLM
“How do I decline a data share invitation I don't want?”
“Can a rejected data share invitation be accepted later?”
Tell an agent destructive · confirm first
Reject the invitation described by {properties} in location {location}.
Decline data share invitation {properties} in {location}.

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-consumerinvitation-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-consumerinvitation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2018-11-01-preview
  title: Microsoft Azure DataShareManagementClient Consumer…
  description: Creates a Microsoft.DataShare management client.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ConsumerInvitation
paths:
  /providers/Microsoft.DataShare/listInvitations:
    get:
      tags:
      - ConsumerInvitation
      summary: Microsoft Azure List The Invitations
      description: Lists invitations
      operationId: microsoftAzureConsumerinvitationsListinvitations
      parameters:
      - $ref: '#/components/parameters/api-version'
      - name: $skipToken
        in: query
        description: The continuation token
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerInvitationList'
        default:
          description: An error response received from the Microsoft.DataShare resource provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataShareError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        ConsumerInvitations_ListInvitations:
          $ref: ./examples/ConsumerInvitations_ListInvitations.json
  /providers/Microsoft.DataShare/locations/{location}/consumerInvitations/{invitationId}:
    get:
      tags:
      - ConsumerInvitation
      summary: Microsoft Azure Gets The Invitation Identified By Invitationid
      description: Get an invitation
      operationId: microsoftAzureConsumerinvitationsGet
      parameters:
      - name: location
        in: path
        description: Location of the invitation
        required: true
        schema:
          type: string
      - name: invitationId
        in: path
        description: An invitation id
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerInvitation'
        default:
          description: An error response received from the Microsoft.DataShare resource provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataShareError'
      x-ms-examples:
        ConsumerInvitations_Get:
          $ref: ./examples/ConsumerInvitations_Get.json
  /providers/Microsoft.DataShare/locations/{location}/rejectInvitation:
    post:
      tags:
      - ConsumerInvitation
      summary: Microsoft Azure Rejects The Invitation Identified By Invitationid
      description: Reject an invitation
      operationId: microsoftAzureConsumerinvitationsRejectinvitation
      parameters:
      - name: location
        in: path
        description: Location of the invitation
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerInvitation'
        default:
          description: An error response received from the Microsoft.DataShare resource provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataShareError'
      x-ms-examples:
        ConsumerInvitations_RejectInvitation:
          $ref: ./examples/ConsumerInvitations_RejectInvitation.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConsumerInvitation'
        description: An invitation payload
        required: true
components:
  schemas:
    ConsumerInvitationList:
      description: List response for get InvitationList
      required:
      - value
      type: object
      properties:
        nextLink:
          description: The Url of next result page.
          type: string
        value:
          description: Collection of items of type DataTransferObjects.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/ConsumerInvitation'
    ConsumerInvitation:
      description: A consumer Invitation data transfer object.
      required:
      - properties
      type: object
      allOf:
      - $ref: '#/components/schemas/ProxyDto'
      properties:
        properties:
          $ref: '#/components/schemas/ConsumerInvitationProperties'
          description: Properties on the account
          x-ms-client-flatten: true
    ConsumerInvitationProperties:
      description: Properties of consumer invitation
      required:
      - invitationId
      type: object
      properties:
        dataSetCount:
          format: int32
          description: Number of data sets in a share
          type: integer
          readOnly: true
        description:
          description: Description shared when the invitation was created
          type: string
          readOnly: true
        invitationId:
          description: Unique id of the invitation.
          type: string
        invitationStatus:
          description: The status of the invitation.
          enum:
          - Pending
          - Accepted
          - Rejected
          - Withdrawn
          type: string
          readOnly: true
          x-ms-enum:
            name: invitationStatus
            modelAsString: true
        location:
          description: invitation location
          type: string
          readOnly: true
        providerEmail:
          description: Email of the provider who created the resource
          type: string
          readOnly: true
        providerName:
          description: Name of the provider who created the resource
          type: string
          readOnly: true
        providerTenantName:
          description: Tenant name of the provider who created the resource
          type: string
          readOnly: true
        respondedAt:
          format: date-time
          description: The time the recipient responded to the invitation.
          type: string
          readOnly: true
        sentAt:
          format: date-time
          description: Gets the time at which the invitation was sent.
          type: string
          readOnly: true
        shareName:
          description: Gets the source share Name.
          type: string
          readOnly: true
        termsOfUse:
          description: Terms of use shared when the invitation was created
          type: string
          readOnly: true
        userEmail:
          description: Email of the user who created the resource
          type: string
          readOnly: true
        userName:
          description: Name of the user who created the resource
          type: string
          readOnly: true
    ProxyDto:
      description: Base data transfer object implementation for proxy resources.
      type: object
      properties:
        id:
          description: The resource id of the azure resource
          type: string
          readOnly: true
        name:
          description: Name of the azure resource
          type: string
          readOnly: true
        type:
          description: Type of the azure resource
          type: string
          readOnly: true
      x-ms-azure-resource: true
    DataShareErrorInfo:
      description: The data share error body model.
      required:
      - code
      - message
      type: object
      properties:
        code:
          description: Code of the error
          type: string
        details:
          description: Nested details of the error model
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/DataShareErrorInfo'
        message:
          description: Message of the error
          type: string
        target:
          description: Target of the error
          type: string
    DataShareError:
      description: The data share error model.
      required:
      - error
      type: object
      properties:
        error:
          $ref: '#/components/schemas/DataShareErrorInfo'
          description: The data share error body
  parameters:
    api-version:
      name: api-version
      in: query
      description: The api version to use.
      required: true
      schema:
        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.
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.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)