Skip to main content
PATCH
/
notification-mark-read
Mark notification as read
curl --request PATCH \
  --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/notification-mark-read \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "notification_id": "f6a7b8c9-d0e1-2345-fabc-456789012345"
}
'
{
  "success": true,
  "status": 123,
  "error": "<string>",
  "details": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT access token obtained from /auth-verify (login context) or /auth-signup. Set the bearer_token environment variable in your API client to apply it globally.

Body

application/json
notification_id
string<uuid>
required

Response

Notification marked as read