---
title: "Update monitoring settings for a domain"
method: PATCH
path: "/domains/{id}"
---

# Update monitoring settings for a domain

`PATCH /domains/{id}`

## Request

- Base URL: `https://www.domainlab.app/api/v1`
- URL: `https://www.domainlab.app/api/v1/domains/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- object: Send at least one field
  - `frequency_interval` 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'biannually' | 'annually'
  - `notification_enabled` boolean
  - `monitoring_enabled` boolean

## Response `200`

Updated domain settings

## Other responses

- `400`: Invalid input or no updatable fields provided. data.code includes FREQUENCY_NOT_IN_PLAN (data: { plan, allowed }).
- `401`: Missing or invalid API key
- `403`: Account lacks API access (no active subscription or trial)
- `404`: Not found or not owned by this account
- `429`: Rate limit or monthly quota exceeded. Respect the Retry-After header. code is RATE_LIMITED (short-lived) or MONTHLY_QUOTA_EXCEEDED (resets next period).

---

[API](https://skmtc.dev/domainlab/apis/domain-lab-api.md) · [All operations](https://skmtc.dev/domainlab/apis/domain-lab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/domainlab/apis/domain-lab-api/revisions/5dade951c661?raw)
