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