POST /v1/domains
Create a Domain
Create a new domain for organizing data assets by business area
POST
POST /v1/domains
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Create a Domain
Create a new domain for organizing data assets by business area.Body Parameters
Name of the domain. Must be unique at the same level (top-level or within a parent domain).
Type of domain. One of:
Source-aligned, Consumer-aligned, Aggregate.Human-readable display name for the domain.
Description of the domain in Markdown format.
Fully qualified name of the parent domain for creating nested domains (e.g.,
Engineering).Array of owner references (users or teams) to assign to the domain.
Array of user references who are subject matter experts for this domain.
POST /v1/domains
Returns
Returns the created domain object with all specified properties and system-generated fields.Response
Unique identifier for the domain (UUID format).
Domain name.
Fully qualified name (e.g.,
TestDomain or parent.child).Human-readable display name.
Description of the domain in Markdown format.
Type of domain:
Source-aligned, Consumer-aligned, or Aggregate.List of owners assigned to the domain.
List of child domain references.
Version number for the entity (starts at 0.1).
Create or Update (PUT)
UsePUT /v1/domains instead of POST to perform an upsert. If a domain with the same fullyQualifiedName already exists, it will be updated; otherwise, a new domain is created. The request body is the same as POST.
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead.Error Handling
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid request body or missing required fields |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to create domains |
409 | ENTITY_ALREADY_EXISTS | Domain with same name already exists (POST only) |