Dismiss all notifications
DELETE
/api/v1/notifications
const url = 'http://localhost:11044/api/v1/notifications';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 \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”All notifications dismissed
Media type*/*
Confirmation that every notification changed state at once
object
status
required
What they all now are: all_read or all_dismissed. No id, because the call named none
string

