API reference

Delete a monitor

Delete an Uptenna monitor with the API. Its check history and incidents go with it and it leaves every status page. This can't be undone.

DELETE https://uptenna.com/v1/monitors/{id}

Remove a monitor with its check history and incidents, and take it off any status page. This can't be undone.

Path parameters

NameTypeRequiredDescription
idstringyesThe monitor's id (mon_…).

Example request

curl
curl -X DELETE "https://uptenna.com/v1/monitors/mon_Xk3v9QmT2bLp" \
  -H "Authorization: Bearer $UPTENNA_API_KEY"
Node.js (fetch)
const res = await fetch("https://uptenna.com/v1/monitors/mon_Xk3v9QmT2bLp", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.UPTENNA_API_KEY}`,
  },
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();

Response

Returns 200 OK.

200 OK
{
  "id": "mon_Xk3v9QmT2bLp",
  "deleted": true
}

Errors

Errors look like { "error": { "code", "message" } } (see Errors).

StatusCodeWhen
404not_foundNo monitor with this id in your account.
401unauthorizedThe Authorization header is missing, malformed, or the key is unknown or revoked.
429rate_limitedMore than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.