Delete a monitor
DELETE
/monitors/{monitor_id}
const url = 'https://api.perstat.io/monitors/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
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.perstat.io/monitors/example \ --header 'Authorization: Bearer <token>'Permanently deletes a monitor together with its dependent data. This is irreversible. Requires a project management role in the owning organization; the deletion is recorded in the activity log.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”monitor_id
required
string