---
title: "Changes to POST /api/v1.0/maildomains/"
method: POST
path: "/api/v1.0/maildomains/"
---

# Changes to POST /api/v1.0/maildomains/

`POST /api/v1.0/maildomains/`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 54 revisions.

- **2026-08-28** `ba0c140b76dd` — 2 warning, 1 info

## Changes

- **2026-08-28** `ba0c140b76dd` — 2 warning, 1 info
  - changed the pattern of the request property `name` from `^[a-z0-9][a-z0-9.-]*[a-z0-9]$` to `^(?=.{2,253}$)(?=[a-z0-9-]{1,63}(?:\.|$))[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.(?=[a-z0-9-]{1,63}(?:\.|$))[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$` (media type: application/json)
  - changed the pattern of the request property `name` from `^[a-z0-9][a-z0-9.-]*[a-z0-9]$` to `^(?=.{2,253}$)(?=[a-z0-9-]{1,63}(?:\.|$))[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.(?=[a-z0-9-]{1,63}(?:\.|$))[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$` (media type: multipart/form-data)
  - the `name` response's property pattern was changed from `^[a-z0-9][a-z0-9.-]*[a-z0-9]$` to `^(?=.{2,253}$)(?=[a-z0-9-]{1,63}(?:\.|$))[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.(?=[a-z0-9-]{1,63}(?:\.|$))[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$` for the status `201`

---

[Operation](https://skmtc.dev/betagouv/apis/messages-api/docs/api/v1.0/maildomains/post.md) · [API](https://skmtc.dev/betagouv/apis/messages-api.md) · [Page](https://skmtc.dev/betagouv/apis/messages-api/changes/api/v1.0/maildomains/post)
