Dismiss a notification
DELETE
/api/v1/notifications/{id}
const url = 'http://localhost:11044/api/v1/notifications/example';const options = {method: 'DELETE', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:11044/api/v1/notifications/example \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Notification ID
Responses
Section titled “Responses”Notification dismissed
Media type*/*
Confirmation that one notification changed state
object
id
required
The notification this acknowledges, echoed from the path
string
status
required
What the notification now is: read or dismissed
string

