Microsoft Azure Patch Access Review My Instance Decision API

The PatchAccessReviewMyInstanceDecision API from Microsoft Azure, for patchaccessreviewmyinstancedecision.

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

PATCH /providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}/instances/{id}/decisions/{decisionId} Record my access review decision · Microsoft Azure Patch Providers Microsoft Authorization… #
Ask an LLM
“How do I approve or deny access in an access review assigned to me?”
“Can I add a justification when I record a review decision?”
Tell an agent
Record decision {decision} for item {decisionId} in review {id} of schedule {scheduleDefinitionId}.
Set {decisionId} in review instance {id}, schedule {scheduleDefinitionId}, to {decision} because {justification}.

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-patchaccessreviewmyinstancedecision-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-patchaccessreviewmyinstancedecision-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2021-11-16-preview
  title: Microsoft Azure AuthorizationManagementClient Patch 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: PatchAccessReviewMyInstanceDecision
paths:
  ? /providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}/instances/{id}/decisions/{decisionId}
  : patch:
      tags:
      - PatchAccessReviewMyInstanceDecision
      operationId: microsoftAzureAccessreviewinstancemydecisionsPatch
      x-ms-examples:
        PatchAccessReviewMyInstanceDecision:
          $ref: ./examples/PatchAccessReviewInstanceMyDecisionById.json
      description: Record a decision.
      parameters:
      - name: scheduleDefinitionId
        in: path
        required: true
        description: The id of the access review schedule definition.
        schema:
          type: string
      - name: id
        in: path
        required: true
        description: The id of the access review instance.
        schema:
          type: string
      - name: decisionId
        in: path
        required: true
        description: The id of the decision record.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Describe the result of a successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessReviewDecision'
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDefinition'
      summary: Microsoft Azure Patch Providers Microsoft Authorization…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccessReviewDecisionProperties'
        description: Access review decision properties to patch.
        required: true
components:
  schemas:
    AccessReviewDecisionIdentity:
      type: object
      discriminator:
        propertyName: type
      required:
      - type
      properties:
        type:
          type: string
          description: 'The type of decision target : User/ServicePrincipal'
          enum:
          - user
          - servicePrincipal
          x-ms-enum:
            name: DecisionTargetType
            modelAsString: true
        id:
          type: string
          readOnly: true
          description: The id of principal whose access was reviewed.
        displayName:
          type: string
          readOnly: true
          description: The display name of the user whose access was reviewed.
      description: Target of the decision.
    AccessReviewDecision:
      type: object
      x-ms-azure-resource: true
      properties:
        id:
          type: string
          readOnly: true
          description: The access review decision id.
        name:
          type: string
          readOnly: true
          description: The access review decision name.
        type:
          type: string
          readOnly: true
          description: The resource type.
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/AccessReviewDecisionProperties'
          description: Access Review Decision properties.
      description: Access Review.
    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.
    AccessReviewDecisionResource:
      type: object
      discriminator:
        propertyName: type
      required:
      - type
      properties:
        type:
          type: string
          description: 'The type of resource: azureRole'
          enum:
          - azureRole
          x-ms-enum:
            name: DecisionResourceType
            modelAsString: true
        id:
          type: string
          readOnly: true
          description: The id of resource associated with a decision record.
        displayName:
          type: string
          readOnly: true
          description: The display name of resource associated with a decision record.
      description: Target of the decision.
    AccessReviewDecisionProperties:
      type: object
      properties:
        principal:
          readOnly: true
          x-ms-client-flatten: true
          $ref: '#/components/schemas/AccessReviewDecisionIdentity'
          description: Principal associated with the decision record. Can be AccessReviewDecisionUserIdentity or AccessReviewDecisionServicePrincipalIdentity
        resource:
          readOnly: true
          x-ms-client-flatten: true
          $ref: '#/components/schemas/AccessReviewDecisionResource'
          description: Resource associated with this decision record.
        recommendation:
          type: string
          readOnly: true
          description: The feature- generated recommendation shown to the reviewer.
          enum:
          - Approve
          - Deny
          - NoInfoAvailable
          x-ms-enum:
            name: AccessRecommendationType
            modelAsString: true
        decision:
          type: string
          description: The decision on the approval step. This value is initially set to NotReviewed. Approvers can take action of Approve/Deny
          enum:
          - Approve
          - Deny
          - NotReviewed
          - DontKnow
          - NotNotified
          x-ms-enum:
            name: AccessReviewResult
            modelAsString: true
        justification:
          type: string
          description: Justification provided by approvers for their action
        reviewedDateTime:
          type:
          - string
          - 'null'
          readOnly: true
          format: date-time
          description: Date Time when a decision was taken.
        reviewedBy:
          readOnly: true
          x-ms-client-flatten: true
          $ref: '#/components/schemas/AccessReviewActorIdentity'
          description: Details of the approver.
        applyResult:
          type: string
          readOnly: true
          description: The outcome of applying the decision.
          enum:
          - New
          - Applying
          - AppliedSuccessfully
          - AppliedWithUnknownFailure
          - AppliedSuccessfullyButObjectNotFound
          - ApplyNotSupported
          x-ms-enum:
            name: AccessReviewApplyResult
            modelAsString: true
        appliedDateTime:
          type:
          - string
          - 'null'
          readOnly: true
          format: date-time
          description: The date and time when the review decision was applied.
        appliedBy:
          readOnly: true
          x-ms-client-flatten: true
          $ref: '#/components/schemas/AccessReviewActorIdentity'
          description: Details of the approver.
      description: Approval Step.
    AccessReviewActorIdentity:
      type: object
      properties:
        principalId:
          type: string
          readOnly: true
          description: The identity id
        principalType:
          type: string
          readOnly: true
          description: 'The identity type : user/servicePrincipal'
          enum:
          - user
          - servicePrincipal
          x-ms-enum:
            name: AccessReviewActorIdentityType
            modelAsString: true
        principalName:
          type: string
          readOnly: true
          description: The identity display name
        userPrincipalName:
          type: string
          readOnly: true
          description: The user principal name(if valid)
      description: Details of the actor identity
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The API version to be used with the HTTP request.
      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