Skip to content

Delete an uptime monitor

DELETE
/v1/sites/{id}/uptime/monitors/{monitorId}
curl --request DELETE \
--url https://api.overwatch.weareheavy.dev/v1/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/uptime/monitors/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'x-api-key: <x-api-key>'

Delete a monitor. Probing stops immediately and its events and rollups cascade away. Requires an owner/admin session or an API key.

id
required
string format: uuid

The site’s UUID.

monitorId
required
string format: uuid

The uptime monitor’s UUID.

The monitor was deleted.

Media typeapplication/json
object
deleted
required
boolean
Example
{
"deleted": true
}

Missing or invalid credentials.

Media typeapplication/json
object
error
required

A human-readable error message.

string
Example
{
"error": "invalid api key"
}

The caller’s role or key scope does not allow this action.

Media typeapplication/json
object
error
required

A human-readable error message.

string
Example
{
"error": "only owners and admins can edit site settings"
}

The site or monitor was not found.

Media typeapplication/json
object
error
required

A human-readable error message.

string
Example
{
"error": "monitor not found"
}