Delete an incident
DELETE
/v1/incidents/{id}
const url = 'https://api.varman.io/v1/incidents/example';const options = {method: 'DELETE', headers: {'X-API-Key': '<X-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 https://api.varman.io/v1/incidents/example \ --header 'X-API-Key: <X-API-Key>'Permanently delete an incident together with its checklist, timeline updates and notices. Use closing instead to keep the audit trail.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string