| title | Update accessReviewPolicy |
|---|---|
| description | Update the properties of an accessReviewPolicy object. |
| author | kafen |
| ms.localizationpriority | medium |
| ms.subservice | entra-id-governance |
| doc_type | apiPageType |
| ms.date | 04/04/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Update the properties of an accessReviewPolicy object.
[!INCLUDE national-cloud-support]
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
[!INCLUDE rbac-access-review-policy-apis-update]
PATCH /policies/accessReviewPolicy
PATCH /identityGovernance/accessReviews/policy| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
| Content-Type | application/json. Required. |
In the request body, supply a JSON representation of the accessReviewPolicy object.
The following table shows the properties that are required when you update the accessReviewPolicy.
| Property | Type | Description |
|---|---|---|
| isGroupOwnerManagementEnabled | Boolean | If true, group owners can create and manage access reviews on groups they own. |
If successful, this method returns a 204 No Content response code.
PATCH https://graph.microsoft.com/beta/policies/accessReviewPolicy
Content-Type: application/json
{
"isGroupOwnerManagementEnabled": true
}[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
HTTP/1.1 204 No ContentPATCH https://graph.microsoft.com/beta/identityGovernance/accessReviews/policy
Content-Type: application/json
{
"isGroupOwnerManagementEnabled": true
}[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
HTTP/1.1 204 No Content