Skip to content

Mark all your notifications in this project as read

POST
/v1/notifications/read-all
curl --request POST \
--url https://beta-api.plune.ai/v1/notifications/read-all \
--header 'Authorization: Bearer <token>'

Yours only, in the project the request runs in (#1063). updated is how many were unread. Not an audit entry: it is the person’s own state. A reader is refused at the boundary with 403 read-only member.

X-Plune-Project
string

Which of your projects to act in — an id from GET /v1/projects. Absent, your default project. A project you are not a member of answers 404, the same as one that does not exist. Ignored under a bearer token, which is bound to the project it was minted in.

Done

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

No / invalid token or session

read-only member of the project

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

The project named in X-Plune-Project is not one of yours

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Rate limit exceeded (twenty a minute)