---
title: "Configure an extra smtp domain"
method: PUT
path: "/mailzones/{domainName}/smtpdomains/{hostname}"
tags: ["Mail zones"]
---

# Configure an extra smtp domain

`PUT /mailzones/{domainName}/smtpdomains/{hostname}`

## Path parameters

- `domain_name` string, required
- `hostname` string, required

## Request body

- UpdateSmtpDomainRequest
  - `enabled` boolean — Enabled

## Response `202`

Accepted

## Other responses

- `400` — Bad Request

---

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