Update accessReviewPolicy

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Update the properties of an accessReviewPolicy object.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Policy.ReadWrite.AccessReview
Delegated (personal Microsoft account) Not supported.
Application Policy.ReadWrite.AccessReview

HTTP request

PATCH /policies/accessReviewPolicy
PATCH /identityGovernance/accessReviews/policy

Request headers

Name Description
Authorization Bearer {token}. Required.
Content-Type application/json. Required.

Request body

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.

Response

If successful, this method returns a 204 No Content response code.

Examples

Request

PATCH https://graph.microsoft.com/beta/policies/accessReviewPolicy
Content-Type: application/json

{
  "isGroupOwnerManagementEnabled": true
}

Response

HTTP/1.1 204 No Content

Request

PATCH https://graph.microsoft.com/beta/identityGovernance/accessReviews/policy
Content-Type: application/json

{
  "isGroupOwnerManagementEnabled": true
}

Response

HTTP/1.1 204 No Content