Skip to content

Latest commit

 

History

History
113 lines (86 loc) · 4.12 KB

unifiedrolemanagementalert-update.md

File metadata and controls

113 lines (86 loc) · 4.12 KB
title description author ms.localizationpriority ms.subservice doc_type
Update unifiedRoleManagementAlert
Dismiss a unifiedRoleManagementAlert object by setting the isActive property to false.
rkarim-ms
medium
entra-id-governance
apiPageType

Update unifiedRoleManagementAlert

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Dismiss a unifiedRoleManagementAlert object by setting the isActive property to false.

[!INCLUDE national-cloud-support]

Permissions

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-pim-alerts-apis-write]

HTTP request

PATCH /identityGovernance/roleManagementAlerts/alerts/{unifiedRoleManagementAlertId}

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Content-Type application/json. Required.

Request body

[!INCLUDE table-intro]

Property Type Description
isActive Boolean false by default; true if the alert is active. Set to false to dismiss the alert. Required.

Response

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

Examples

Request

The following example shows a request to dismiss an alert by specifying the alert id and setting the isActive to false.

PATCH https://graph.microsoft.com/beta/identityGovernance/roleManagementAlerts/alerts/DirectoryRole_67b47f38-0f0b-4e62-a3be-859140c2061f_StaleSignInAlert
Content-Type: application/json

{
  "isActive": false
}

[!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]


Response

The following example shows the response.

HTTP/1.1 204 No Content