domains

create_domain

Create a tenant-owned draft. Cost class: fast.

The draft is editable and unusable until published. Validation runs on every write and is returned every time, so a caller never has to guess whether a publish will succeed.

Args: session: Database session. caller: The authenticated tenant, who will own the new domain. request: The slug, display name, and taxonomy.

Returns: The created draft and its validation.

Raises: PlatformError: reserved_domain_slug or domain_in_use.

post/v1/domains

Request

Request body

slugstring required
display_namestring required

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.