Skip to content

Latest commit

 

History

History
110 lines (84 loc) · 3.93 KB

File metadata and controls

110 lines (84 loc) · 3.93 KB
title Update unifiedRoleManagementAlert
description Dismiss a unifiedRoleManagementAlert object by setting the isActive property to false.
author rkarim-ms
ms.localizationpriority medium
ms.subservice entra-id-governance
doc_type apiPageType
ms.date 04/05/2024

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]


Response

The following example shows the response.

HTTP/1.1 204 No Content