| title | emailThreatSubmission: review |
|---|---|
| description | Review a threat submission. |
| author | caigen |
| ms.localizationpriority | medium |
| ms.subservice | security |
| doc_type | apiPageType |
| ms.date | 04/04/2024 |
Namespace: microsoft.graph.security
[!INCLUDE beta-disclaimer]
Review a threat submission. Only emailThreatSubmission objects submitted by end users support the review action.
Review actions for urlThreatSubmission and fileThreatSubmission objects are not supported for end user.
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 /security/threatSubmission/emailThreats/{emailThreatsId}/review| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
| Content-Type | application/json. Required. |
In the request body, supply a JSON representation of the parameters.
The following table shows the parameters that can be used with this action.
| Parameter | Type | Description |
|---|---|---|
| category | String | The email is being reported as notSpam, junk, phishing, malware. Case insensitive. |
If successful, this action returns a 204 No Content response code.
The following example shows a request.
POST https://graph.microsoft.com/beta/security/threatSubmission/emailThreats/49c5ef5b-1f65-444a-e6b9-08d772ea2059/review
Content-type: application/json
{
"category": "phishing"
}[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
HTTP/1.1 204 No Content