---
title: "Create a domain."
method: PUT
path: "/domain"
tags: ["Domain management"]
---

# Create a domain.

`PUT /domain`

## Request body

- CreateDomainRequest — The data used to create a new domain.
  - `shortName` string, required — The domain's short name.
  - `fullName` string, required — The domain's full name.
  - `description` string — The domain's description.
  - `reportMetadata` string — The domain's additional metadata for XML reports.
  - `apiKey` string — The API key to set for the domain. If this key is already assigned, a new one will be generated.

## Response `200`

Domain created.

- ApiKeyResponse — The API key that was assigned to the creation of a new element.
  - `apiKey` string, required — The API key value.

## Other responses

- `429` — Call rate limit threshold exceeded for this operation.
- `default` — The received request was invalid.

## Changes

- **2026-03-19** `7637660a4a6b` — 1 info
  - added the non-success response with the status `429`
- **2024-09-26** `971d5a45d129` — 1 info
  - added the new optional request property `reportMetadata`
- **2024-08-26** `47017afa7060` — 1 info
  - endpoint added
- **2022-06-27** `06f633c06bcd` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ec-jrc/apis/interoperability-test-bed-rest-api/changes/domain/put.md)

---

[API](https://skmtc.dev/ec-jrc/apis/interoperability-test-bed-rest-api.md) · [All operations](https://skmtc.dev/ec-jrc/apis/interoperability-test-bed-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ec-jrc/interoperability-test-bed-rest-api/revisions/433b3c0ae6d4/schema)
