---
title: "Update domain catch-all settings"
method: PATCH
path: "/api/e2/domains/{id}"
tags: ["Domains"]
---

# Update domain catch-all settings

`PATCH /api/e2/domains/{id}`

Update catch-all email settings for a domain. Catch-all receives emails sent to any address on your domain. Domain must be verified first.

## Path parameters

- `id` string, required

## Request body

- object
  - `isCatchAllEnabled` boolean, required
  - `catchAllEndpointId` string, nullable

## Response `200`

Response for status 200

- object
  - `id` string, required
  - `domain` string, required
  - `status` string, required
  - `isCatchAllEnabled` boolean, required
  - `catchAllEndpointId` string, nullable, required
  - `catchAllEndpoint` object, nullable
    - `id` string, required
    - `name` string, required
    - `type` string, required
    - `isActive` boolean, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Response for status 400
- `401` — Response for status 401
- `404` — Response for status 404
- `500` — Response for status 500

## Changes

- **2025-12-03** `dbb1412c90a4` — 1 info
  - response property `updatedAt` list-of-types was narrowed by removing types `Date and number` from media type `application/json` of response `200`

[Change history](https://skmtc.dev/inboundemail/apis/inbound-email-api/changes/api/e2/domains/:id/patch.md)

---

[API](https://skmtc.dev/inboundemail/apis/inbound-email-api.md) · [All operations](https://skmtc.dev/inboundemail/apis/inbound-email-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inboundemail/inbound-email-api/revisions/04a8a5e5040d/schema)
