Create a hostname in a zone
Creates a hostname on the zone. The root domain is derived from the hostname name and the matching domain is found or created for the zone's organization (rejected if that domain already belongs to another organization). A unique CNAME target is generated, an initial DNS check is scheduled, and a certificate is bootstrapped for the domain when one is needed. When "cdnEnabled" is true the CDN pull zone is provisioned, and the change takes effect on the live configuration.
Authorizations
Long-lived API token created via POST /api/api-tokens (returned once in plaintext). A token created with readOnly may only perform safe requests (GET, HEAD, OPTIONS); write requests are rejected on every endpoint.
JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer
Parameters
Path Parameters
Zone identifier
Request Body
Responses
hostname resource created
