# Pause a monitor

> Pause an Uptenna monitor with the API during maintenance: no checks and no alerts until you resume it. Settings and history are kept.

Source: https://uptenna.com/docs/api-pause-monitor  
Markdown: https://uptenna.com/docs/api-pause-monitor.md

`POST https://uptenna.com/v1/monitors/{id}/pause`

Stop checking a monitor (during maintenance, say). It keeps its settings and history and sends no alerts while paused. Pausing a paused monitor is fine.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | The monitor's id (`mon_…`). |

## Example request

```bash curl
curl -X POST "https://uptenna.com/v1/monitors/mon_Xk3v9QmT2bLp/pause" \
  -H "Authorization: Bearer $UPTENNA_API_KEY"
```

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

## Response

Returns **200 OK** with the [monitor object](https://uptenna.com/docs/api-objects#monitor).

```json 200 OK
{
  "id": "mon_Xk3v9QmT2bLp",
  "kind": "http",
  "name": "API",
  "status": "up",
  "paused": true,
  "over_limit": false,
  "url": "https://api.example.com/health",
  "method": "GET",
  "expect_status": "200-399",
  "keyword": null,
  "keyword_absent": null,
  "timeout_ms": 10000,
  "interval_s": 60,
  "effective_interval_s": 60,
  "ssl_check": true,
  "heartbeat_url": null,
  "period_s": null,
  "grace_s": null,
  "last_ping_at": null,
  "last_checked_at": "2026-12-01T09:41:00.000Z",
  "last_latency_ms": 182,
  "last_status_code": 200,
  "last_reason": null,
  "reason_text": null,
  "cert_expires_at": "2027-02-14T23:59:59.000Z",
  "cert_issuer": "Let's Encrypt",
  "open_incident_id": null,
  "uptime_24h": 1,
  "uptime_30d": 0.9993,
  "created_at": "2026-11-02T14:03:11.000Z",
  "updated_at": "2026-11-20T08:15:42.000Z"
}
```

## Errors

Errors look like `{ "error": { "code", "message" } }` (see [Errors](https://uptenna.com/docs/api#errors)).

| Status | Code | When |
| --- | --- | --- |
| 404 | `not_found` | No monitor with this id in your account. |
| 401 | `unauthorized` | The Authorization header is missing, malformed, or the key is unknown or revoked. |
| 429 | `rate_limited` | More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds. |
