Clear alert history
DELETE
/alerts/history
const url = 'https://your-server.example/api/alerts/history';const options = {method: 'DELETE', headers: {cookie: 'session=<session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://your-server.example/api/alerts/history \ --cookie session=<session>Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Cleared.
Media typeapplication/json
object
status
string
Example
{ "status": "ok"}