---
title: "Update Domain"
method: PATCH
path: "/v0/domains/{domain_id}"
tags: ["Domains"]
---

# Update Domain

`PATCH /v0/domains/{domain_id}`

## Path parameters

- `domain_id` string, required — The name of the domain. (e.g., " your-domain.com")

## Request body

- UpdateDomainRequest
  - `feedback_enabled` boolean — Bounce and complaint notifications are sent to your inboxes.

## Response `200`

- Domain
  - `pod_id` string — ID of pod.
  - `domain_id` string, required — The name of the domain. (e.g., " your-domain.com")
  - `status` 'NOT_STARTED' | 'PENDING' | 'INVALID' | 'FAILED' | 'VERIFYING' | 'VERIFIED', required
  - `feedback_enabled` boolean, required — Bounce and complaint notifications are sent to your inboxes.
  - `records` VerificationRecord[], required — A list of DNS records required to verify the domain.
    - `type` 'TXT' | 'CNAME' | 'MX', required
    - `name` string, required — The name or host of the record.
    - `value` string, required — The value of the record.
    - `status` 'MISSING' | 'INVALID' | 'VALID', required
    - `priority` integer, nullable — The priority of the MX record.
  - `client_id` string — Client ID of domain.
  - `updated_at` string, date-time, required — Time at which the domain was last updated.
  - `created_at` string, date-time, required — Time at which the domain was created.

## Other responses

- `404`

## Changes

- **2026-03-09** `b1919d0d52ac` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentmail-to/apis/api/changes/v0/domains/:domain_id/patch.md)

---

[API](https://skmtc.dev/agentmail-to/apis/api.md) · [All operations](https://skmtc.dev/agentmail-to/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentmail-to/api/revisions/a03d283063fa/schema)
