| title | Mark as unread - Alerts API |
|---|---|
| description | This article describes the mark as unread request in the Defender for Cloud Apps Alerts API. |
| ms.date | 01/29/2023 |
| ms.topic | reference |
Run the POST request to mark the alert matching the specified primary key as unread.
POST /api/v1/alerts/<pk>/unread/| Parameter | Description |
|---|---|
| pk | The ID of the alert |
Here is an example of the request.
curl -XPOST -H "Authorization:Token <your_token_key>" -H "Content-Type: application/json" "https://<tenant_id>.<tenant_region>.portal.cloudappsecurity.com/api/v1/alerts/<pk>/unread/"[!INCLUDE Open support ticket]