Skip to main content
PATCH
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Path Parameters

id
string
required

The domain's ID.

Body

application/json
site_id
string | null
page
string | null

Slug of a public published page to serve at this hostname; null stops serving it. A gated page can't be served on a custom domain, and a hostname serves either a site or one page.

pages
boolean

true makes this the account's pages domain (every published page at https:///, gated ones after the viewer signs in on it); false stops it.

capabilities
object
auto_renew
boolean

Domains bought here only. true renews the registration (charged to the card on file) before expires_at; false lets it lapse then.

Response

Domain

object
string
required
id
string
required
domain
string
required
purchase_status
enum<string> | null
required
Available options:
pending_payment,
registering,
registered,
failed,
null
auto_renew
boolean | null
required

Whether the registration renews itself before expires_at; null for a domain connected rather than bought here. Change it with PATCH auto_renew.

transfer_out_available_on
string | null
required

First date the registration can move to another registrar (60 days after registration); null for a domain connected rather than bought here.

transfer_in_status
enum<string> | null
required

pending_payment, transferring, completed or failed for a domain moved here from another registrar (POST /v1/domains/transfer_in); null otherwise.

Available options:
pending_payment,
transferring,
completed,
failed,
null
transfer_in_state
string | null
required

The registrar's last reported step of a transfer to Crevio: pending, in_progress, blocked (waiting on the current registrar, up to 5 days), action_required (the owner must approve an email from the current registrar), succeeded or failed.

transfer_in_error
string | null
required

Why the last transfer to Crevio failed, as the registrar put it.

site_id
object
required
page
string | null
required
pages
boolean
required

True when the domain serves every published page of the account at https:///.

managed_zone
boolean
required
zone_id
object
required
capabilities
object
required
records
object
required
next_step
object
required
created_at
string<date-time>
required
verification_errors
string[]
required
expires_at
string<date-time> | null
transfer_out_requested_at
string<date-time> | null
verified_at
string<date-time> | null