| title | Add accessReview reviewer (deprecated) |
|---|---|
| description | In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. |
| ms.localizationpriority | medium |
| author | shubhamguptacal |
| ms.subservice | entra-id-governance |
| doc_type | apiPageType |
| ms.date | 04/05/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
[!INCLUDE accessreviews-disclaimer]
In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
[!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]
POST /accessReviews/{reviewId}/reviewers| Name | Type | Description |
|---|---|---|
| Authorization | string | Bearer {token}. Required. |
In the request body, supply a JSON representation of the ID of a user who will be a reviewer.
The following table shows the properties that can be supplied when you update an accessReview.
| Property | Type | Description |
|---|---|---|
| id | String | The user ID. |
If successful, this method returns a 201 Created response code.
This is an example of updating a one-time (not reoccurring) access review with another reviewer.
In the request body, supply a JSON representation of the id of the user object.
POST https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16fec466a82d/reviewers
Content-Type: application/json
{
"id":"006111db-0810-4494-a6df-904d368bd81b"
}[!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 201 Created