Delete a monitor
Delete a monitor
Remove an alerting rule.
An alerting monitor resolves before deletion, so nobody is left with a stuck page.
DELETE
/v1/monitors/{id}Path parameters
idstringrequiredmon_….
curl -X DELETE https://api.logstreem.com/v1/monitors/{id} \
-H "Authorization: Bearer $LOGSTREEM_TOKEN"Responses
200OK
{
"object": "monitor",
"id": "mon_4a81e0c3f6a5b2d1e0c9",
"deleted": true
}401Unauthorized
{
"error": {
"type": "authentication_error",
"code": "missing_token",
"message": "No API token provided.",
"doc_url": "https://logstreem.com/docs/errors#missing_token",
"request_id": "req_9f3c2a7b41de08c5b2e6"
}
}Try itsandbox