Skip to content

Mark all notifications as read

POST
/v1/users/me/notifications/mark-all-read
curl --request POST \
--url https://example.com/v1/users/me/notifications/mark-all-read \
--header 'Authorization: Bearer <token>' \
--header 'X-Tenant-ID: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0'
X-Tenant-ID
required
string format: uuid

OK

Media type application/json
object
marked
required
integer
Example generated
{
"marked": 1
}

Unauthorized

Media type application/json
object
code
required

Machine-readable error code (e.g. “not_found”, “tenant_mismatch”).

string
message
required

Human-readable description of the error.

string
details

Optional additional context about the error.

object
key
additional properties
any
notices

Policy notices from determining Cedar rules, if applicable.

Array<string>
Example generated
{
"code": "example",
"message": "example",
"details": {},
"notices": [
"example"
]
}