POST /wp-json/clanbite/v1/notifications/(?P<id>[\d]+)/readPOST
Mark notification as read.
Access is checked by notifications_access_permissions_check().
| Argument | Type | Default | Description |
|---|---|---|---|
id required | integer |
Handled by mark_read()
Example
curl -X POST 'https://example.com/wp-json/clanbite/v1/notifications/(?P<id>[\d]+)/read'Defined in inc/extensions/notifications/class-notification-rest-controller.php