Create (or revive) a custom domain
Requires EDITOR.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string
Project (tenant) identifier. Row-level tenant isolation is enforced on every query.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
hostname
required
string
displayName
required
string
dnsProvider
string | null
onboardingMode
string
Responses
Section titled “Responses”Created domain.
Media typeapplication/json
object
domain
object
id
string
projectId
string
hostname
string
displayName
string
hostnameStatusValue
string | null
hostnameStatusMessage
string | null
hostnameStatusUpdatedAt
string | null
onboardingMode
string
dnsProvider
string | null
delegationStatus
string | null
cloudflareJson
route53Json
createdAt
string
updatedAt
string
key
additional properties
any
Invalid domain params or hostname format.
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Not authenticated (401 via requireAuthenticated) or insufficient project role (403).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Hostname already occupied/exists.
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}