cURL
curl --request POST \ --url https://api.decodahealth.com/notifications/bulk-action \ --header 'API-KEY: <api-key>' \ --header 'Content-Type: application/json' \ --header 'TENANT: <tenant>' \ --data ' { "action": "mark_all_read" } '
{}
Execute a bulk action on notifications
The tenant you are making this request on behalf of
Your api key
Parameters for bulk notification actions
Bulk action to perform
mark_all_read
archive_all
archive_read
Successful Response