Mark read notifications
POST /api/v1/notifications/{notificationId}/mark-read: request fields and declared response contract.
POST/api/v1/notifications/{notificationId}/mark-read
| Permission | notification.update |
|---|---|
| Workspace scope | required |
| Scope target | workspace |
Parameters
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
| notificationId | string | required | non-null | — |
Query parameters: none.
Response
200
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
| data | object | required | non-null | — |
Declared failures
| NOTIFICATION_MARK_READ_FAILED | 500 — not retryable |
|---|
Readback
Read the result back with:
- notifications.list
Request example
Schematic only. Replace placeholders with real values and include all required nested fields.
POST /api/v1/notifications/{notificationId}/mark-read HTTP/1.1
Authorization: Bearer <token>
x-merulan-workspace-id: <workspace-id>