# Tạm dừng monitor

`POST /service/@id/uptime/monitors/@monitor/pause` · Tino Uptime, token đăng nhập của chủ dịch vụ

Dừng kiểm và cảnh báo của monitor (`enabled: false`), giữ nguyên cấu hình. Trả monitor.

## HTTP request

| Mục | Giá trị |
| --- | --- |
| URL | `https://api.tino.vn/service/@id/uptime/monitors/@monitor/pause` |
| Method | `POST` |
| Xác thực | token đăng nhập của chủ dịch vụ Tino Uptime (`Authorization: Bearer <token>`); gateway `/v1` chưa mở Tino Uptime |
| Content-Type | — (không có body) |

## Tham số

| Tên | Vị trí | Kiểu | Bắt buộc | Mô tả |
| --- | --- | --- | --- | --- |
| `id` | đường dẫn | int | có | ID dịch vụ Tino Uptime |
| `monitor` | đường dẫn | string | có | ID monitor (UUID, `id` ở danh sách monitor) |

## Example request

```bash
curl -X POST "https://api.tino.vn/service/100002/uptime/monitors/3f6c2a10-8b1e-4c5d-9a7f-2e4b6c8d0a11/pause" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` là token đăng nhập của chủ dịch vụ Tino Uptime. Tham số đường dẫn trong ví dụ là giá trị mẫu.

SDK ([SDK & Ví dụ](/docs/sdk)): chưa có hàm riêng, dùng `client.request("POST", "/service/@id/uptime/monitors/@monitor/pause")`.

## Example response

```json
{
 "data": {
  "id": "3f6c2a10-8b1e-4c5d-9a7f-2e4b6c8d0a11",
  "name": "Website chính",
  "interval_s": 60,
  "locations": [
   "vn-cmc",
   "vn-vt",
   "intl"
  ],
  "enabled": false,
  "paused_until": null,
  "snoozed_until": null,
  "disabled_reason": null,
  "verified": true,
  "created_at": "2026-10-24T08:00:00+07:00",
  "settings": {
   "type": "http",
   "url": "https://example.com/",
   "method": "GET",
   "expected_status": [
    200
   ],
   "follow_redirects": true,
   "header_names": [],
   "basic_auth_set": false,
   "body_set": false
  },
  "international_critical": false,
  "state": "paused",
  "state_since": "2026-10-24T10:31:00+07:00",
  "last_check_at": "2026-10-24T10:30:00+07:00",
  "last_latency_ms": 182,
  "last_error_kind": null,
  "current_incident_id": null,
  "ssl_expires_at": "2027-01-15T07:00:00+07:00",
  "domain_expires_at": null,
  "uptime_30d": 99.98
 }
}
```

Mẫu dựng theo OpenAPI của Tino Uptime (Tino chuyển tiếp nguyên câu trả lời trong `data`), giá trị là ví dụ.
