---
title: "Update email domain"
method: PUT
path: "/email-domains/{id}"
tags: ["email-domain-controller"]
---

# Update email domain

`PUT /email-domains/{id}`

Updates an existing email domain. Only accessible to users with -laminar.run email domains.

## Path parameters

- `id` integer, required

## Request body

- UpdateEmailDomainRequest — Request to update an existing email domain
  - `domain` string — The email domain name
  - `isActive` boolean — Whether the domain is active

## Response `200`

Email domain updated successfully

## Other responses

- `400` — Invalid request or domain already exists
- `403` — Access denied - user email must end with -laminar.run
- `404` — Email domain not found

---

[API](https://skmtc.net/laminar/apis/laminar-api.md) · [All operations](https://skmtc.net/laminar/apis/laminar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/laminar/laminar-api/versions/f0b9f895fdd8/schema)
