Miru

Monitors

Delete a Monitor

Use the API to delete a monitor in your workspace.

Required Permissions

  • monitors.delete

Example Request

This request will delete an existing monitor.

curl -X DELETE "https://status.example.com/api/v1/monitor/pAbfD8udMmgzPdXx" \
  -H "x-api-key: YOUR_API_KEY"

Response

If the API key is valid, hasn't expired, and has the monitors.delete permission, the API will return a JSON response:

{
	"error": false,
	"message": "Successfully deleted monitor"
}

Error Response

If there is a problem with the request, the API will return a JSON response with an error message.

{
	"error": true,
	"message": "Missing monitors permissions: delete"
}

Types

The API will return a JSON response that can include the following values:

Response

Prop

Type