---
title: "Set Default Domain"
method: POST
path: "/api/v1/domains/{domain_name}/set-default"
tags: ["Domains"]
---

# Set Default Domain

`POST /api/v1/domains/{domain_name}/set-default`

## Path parameters

- `domain_name` string, required

## Response `200`

Successful Response

- SetDefaultResponse
  - `default_domain` string, nullable, required — Bare domain name now serving as the org's default for new mailbox creations. ``None`` means no custom default is set and mailboxes fall back to the platform domain.

## Other responses

- `422` — Validation Error
- `4XX` — Client error with Support Agent information.
- `5XX` — Server error with Support Agent information.

---

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