---
title: "PATCH /{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}"
method: PATCH
path: "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}"
tags: ["Approval"]
---

# PATCH /{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}

`PATCH /{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}`

Update a ApprovalResource

## Path parameters

- `resourceUri` string, required
- `approvalName` string, required

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Request body

- ApprovalPatchModel — Approvals patch model.
  - `properties` ApprovalPatchProperties — Approvals patch properties.
    - `parentResourceId` string, arm-id — Parameter for optimizing query results
    - `grandparentResourceId` string, arm-id — Parameter for optimizing query results
    - `approvers` Approver[] — List of approvers for the approval request
      - `approverEntraId` string, required — Entra ObjectID of the approver
      - `actionPerformed` 'Approved' | 'Rejected' — Specifies the action performed by the approver
      - `lastUpdatedAt` string, date-time, required — approval request last updated at
      - `mandatoryApprovalGroupMembershipIds` string[] — Indicates if this approver is part of a mandatory approver group with list of Entra IDs
    - `ticketId` string — Ticket ID for the approval request
    - `createdAt` string, date-time — Approval request creation time
    - `stateChangedAt` string, date-time — Approval request state change time, time at which approval request state changed from pending to approved or rejected.
    - `requestMetadata` RequestMetadataUpdatableProperties — Request Metadata patch properties.
      - `resourceAction` string — Resource Action of the item being approved or declined.
      - `approvalCallbackRoute` string — Route name for the approval callback
      - `approvalCallbackPayload` string — Payload to be sent upon any action on approval request
      - `approvalStatus` 'Approved' | 'Rejected' | 'Pending' | 'Deleted' | 'Expired' — Approval Status. It can be Approved, Rejected, Pending, Deleted or Expired.

## Response `200`

Azure operation completed successfully.

- ApprovalResource — unresolved $ref

## Other responses

- `202` — Resource update request accepted.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/mission-microsoft-mission-mission.md) · [All operations](https://skmtc.net/azure/apis/mission-microsoft-mission-mission/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/mission-microsoft-mission-mission/revisions/447ea9561291/schema)
