Skip to content
Skip to Content
Coder Docs

Mark all unread notifications as read

PUT
/api/v2/notifications/inbox/mark-all-as-read

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

No Content

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X PUT \	"$CODER_URL/api/v2/notifications/inbox/mark-all-as-read" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response204
Empty