Domains
Register a domain
Registers a custom domain for the cluster. After registration, configure the DNS records returned in the response and call the verify endpoint to complete verification.
Required scope: domains:write
post/clusters/{cluster_id}/domains
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/clusters/{cluster_id}/domains
- Auth: API key in header API-Key
Path parameters
cluster_idstring uuid required
Headers
API-Version'2026-06-01.beta' required
Request body
Example request
{
"domain": "auth.mycompany.com"
}Response
The request has succeeded and a new resource has been created as a result.
Example response
{
"domain": "auth.mycompany.com",
"subdomain": "auth",
"last_check_error": "custom hostname does not CNAME to this zone."
}Changes
No recorded changes to this operation across all 1 revision of this API.