Microsoft Azure Post Access Review History Definition Instance API

The PostAccessReviewHistoryDefinitionInstance API from Microsoft Azure, for postaccessreviewhistorydefinitioninstance.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

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.Authorization/accessReviewHistoryDefinitions/{historyDefinitionId}/instances/{instanceId}/generateDownloadUri Generate a download link for access review history · Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft… #
Ask an LLM
“Can I download access review history data for a report instance?”
“How long does a generated access review history download link stay valid?”
Tell an agent
Generate a download URI for history instance {instanceId} of definition {historyDefinitionId}.
Get a one-day download link for review history {historyDefinitionId} instance {instanceId} in subscription {subscriptionId}.

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-postaccessreviewhistorydefinitioninstance-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-postaccessreviewhistorydefinitioninstance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2021-11-16-preview
  title: Microsoft Azure AuthorizationManagementClient Post Access…
  description: Access reviews service provides the workflow for running access reviews on different kind of resources.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: PostAccessReviewHistoryDefinitionInstance
paths:
  ? /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/accessReviewHistoryDefinitions/{historyDefinitionId}/instances/{instanceId}/generateDownloadUri
  : post:
      tags:
      - PostAccessReviewHistoryDefinitionInstance
      operationId: microsoftAzureAccessreviewhistorydefinitioninstanceGeneratedownloaduri
      x-ms-examples:
        PostAccessReviewHistoryDefinitionInstance:
          $ref: ./examples/PostAccessReviewHistoryDefinitionInstance.json
      description: Generates a uri which can be used to retrieve review history data. This URI has a TTL of 1 day and can be retrieved by fetching the accessReviewHistoryDefinition object.
      parameters:
      - name: historyDefinitionId
        in: path
        required: true
        description: The id of the access review history definition.
        schema:
          type: string
      - name: instanceId
        in: path
        required: true
        description: The id of the access review history definition instance to generate a URI for.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: AccessReviewHistoryInstance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessReviewHistoryInstance'
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDefinition'
      summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft…
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: The ID of the target subscription.
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The API version to be used with the HTTP request.
      schema:
        type: string
  schemas:
    AccessReviewHistoryInstance:
      x-ms-azure-resource: true
      type: object
      properties:
        id:
          type: string
          readOnly: true
          description: The access review history definition instance id.
        name:
          type: string
          readOnly: true
          description: The access review history definition instance unique id.
        type:
          type: string
          readOnly: true
          description: The resource type.
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/AccessReviewHistoryInstanceProperties'
          description: Access Review History Definition Instance properties.
      description: Access Review History Definition Instance.
    AccessReviewHistoryInstanceProperties:
      type: object
      properties:
        reviewHistoryPeriodStartDateTime:
          type: string
          format: date-time
          readOnly: false
          description: Date time used when selecting review data, all reviews included in data start on or after this date. For use only with one-time/non-recurring reports.
        reviewHistoryPeriodEndDateTime:
          type: string
          format: date-time
          readOnly: false
          description: Date time used when selecting review data, all reviews included in data end on or before this date. For use only with one-time/non-recurring reports.
        displayName:
          type: string
          description: The display name for the parent history definition.
        status:
          type: string
          readOnly: true
          description: Status of the requested review history instance data. This is either requested, in-progress, done or error. The state transitions are as follows - Requested -> InProgress -> Done -> Expired
          enum:
          - Requested
          - InProgress
          - Done
          - Error
          x-ms-enum:
            name: AccessReviewHistoryDefinitionStatus
            modelAsString: true
        runDateTime:
          type:
          - string
          - 'null'
          format: date-time
          description: Date time when the history data report is scheduled to be generated.
        fulfilledDateTime:
          type:
          - string
          - 'null'
          format: date-time
          description: Date time when the history data report is scheduled to be generated.
        downloadUri:
          readOnly: true
          type: string
          description: Uri which can be used to retrieve review history data. To generate this Uri, generateDownloadUri() must be called for a specific accessReviewHistoryDefinitionInstance. The link expires after a 24 hour period. Callers can see the expiration date time by looking at the 'se' parameter in the generated uri.
        expiration:
          type:
          - string
          - 'null'
          format: date-time
          description: Date time when history data report expires and the associated data is deleted.
      description: Access Review History Definition Instance properties.
    ErrorDefinition:
      type: object
      title: Error
      description: Error description and code explaining why an operation failed.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDefinitionProperties'
          description: Error of the list gateway status.
    ErrorDefinitionProperties:
      type: object
      title: Error
      description: Error description and code explaining why an operation failed.
      properties:
        message:
          type: string
          readOnly: true
          description: Description of the error.
        code:
          type: string
          description: Error code of list gateway.
  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