Skip to main content
POST
/
projects
/
{project_id}
/
notifications
/
delete-read
Delete all read notifications
import requests

url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/notifications/delete-read/"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
{
  "message": "Marked 5 notifications as read",
  "count": 5
}

Documentation Index

Fetch the complete documentation index at: https://docs.clarifeye.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer

Headers

X-Impersonate-Email
string<email>

Email of the user to impersonate. Requires CAN_IMPERSONATE_OTHER_USERS permission. If the target user is not found or does not have access to the project, the request proceeds as the authenticated user. Contact Clarifeye to enable this permission.

Path Parameters

project_id
string<uuid>
required

UUID of the project

Response

All read notifications deleted

message
string

Human-readable message describing the action taken

Example:

"Marked 5 notifications as read"

count
integer

Number of notifications affected by the action

Example:

5