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 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Dismiss a unifiedRoleManagementAlert object by setting the isActive property to false
.
[!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-pim-alerts-apis-write]
PATCH /identityGovernance/roleManagementAlerts/alerts/{unifiedRoleManagementAlertId}
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Content-Type | application/json. Required. |
[!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. |
If successful, this method returns a 204 No Content
response code.
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]
The following example shows the response.
HTTP/1.1 204 No Content