Update registration settings
Changes settings of a domain the team registered through Spacefast: transferLock, WHOIS privacySetting, the registrant (contactId of a saved contact), and the autoRenew preference. Unlocking transfers, turning off privacy, or changing the registrant affects who controls the domain and whose details are public, so make those changes only at the user’s request. autoRenew is saved as a preference only; nothing renews automatically yet, and renewal is a separate registration action.
/v1/domains/{domainId}/registrationAuthorizationBearer token · headerrequiredSpace key (sfc_…) for an unclaimed anonymous Space. Also the fragment of its claim URL and the token of its /__/<key> door. A publish without a credential returns it in claim with the claim link. With the key, getSpace extends the Space's expiry window, getSpaceVersion follows its publish, createSpaceOpenLink returns its reusable open link, and restoreSpace undoes a deleteSpace while the claim window remains open.
AuthorizationBearer token · headerrequiredBetter Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.
AuthorizationOAuth2 access token · headerrequiredOAuth 2.0 with explicit Spacefast capability scopes. Use the authorization-code flow for people and client credentials for machines.
domains:writedomainIdstringrequiredapplication/jsonautoRenewbooleanSaves the auto-renew preference. Nothing renews on its own yet; renew with { action: "renew" }.
transferLockbooleanPass true to enable the registrar transfer lock. Pass false to disable it.
privacySettingstringWHOIS privacy behavior.
enable_privacy_serviceredact_contact_infodisclose_contact_infocontactIdstring | nullRegistrant contact record.
Show propertiesHide properties
stringnullResponse for status 200
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
dataobjectrequiredShow propertiesHide properties
idstring | nullrequiredRegistration or transfer record id; null when unregistered.
domainIdstringrequiredDomain inventory record (dom_...).
hostnamestringrequiredRegistered hostname.
providerstring | nullrequiredWrapped registrar bridge where the registration lives.
Show propertiesHide properties
stringnullstatusstringrequiredRegistration lifecycle status. pending_payment means checkout is open and nothing is registered yet.
expiresAtstring<date-time> | nullrequiredInstant when the registration expires.
Show propertiesHide properties
string<date-time>nullredemptionEndsAtstring<date-time> | nullrequiredInstant when the redemption window ends after expiry.
Show propertiesHide properties
string<date-time>nullautoRenewbooleanrequiredSaved auto-renew preference. Nothing renews on its own yet; renew by hand.
transferLockbooleanrequiredWhether outbound transfers are locked.
privacySettingstring | nullrequiredWHOIS privacy behavior.
Show propertiesHide properties
stringnullcontactIdstring | nullrequiredRegistrant contact record.
failureReasonstring | nullrequiredProvider failure detail when status is failed.
purchaseobject | nullrequiredMoney state of the current purchase or renewal line; null when none is in flight.
Show propertiesHide properties
intentIdstringrequiredPurchase intent that paid for this line.
lineStatusstringrequiredawaiting_paymentsubmittingsettledrefundingrefundedcancelledcheckoutobject | nullThe open payment link, when you request includeCheckout. You get it only when you may purchase this domain and, when the checkout was opened with billing authority over the paying team, hold that authority too. Null when you cannot get an open link; check checkoutUnavailable for lookup failures. Omitted when you do not request it or may not purchase this domain.
Show propertiesHide properties
idstringrequiredExisting Stripe Checkout session id.
urlstring<uri>requiredOpen this existing checkout to complete payment.
expiresAtstring<date-time>requiredWhen this checkout expires.
nullcheckoutUnavailablebooleanTrue when the requested payment link could not be retrieved or verified. Registration status remains available. Retry the read to recover the existing checkout; do not start another purchase.
quotedFeeAmountCentsinteger | nullrequiredRegistrar fee before tax, in cents.
Show propertiesHide properties
integernullpaidAmountCentsinteger | nullrequiredWhat the customer paid for this line, tax included, in cents.
Show propertiesHide properties
integernullrefundobject | nullrequiredShow propertiesHide properties
referencestringrequiredStripe refund id.
amountCentsintegerrequiredrefundedAtstring<date-time>requirednullnullcreatedAtstring<date-time> | nullrequiredShow propertiesHide properties
string<date-time>nullupdatedAtstring<date-time> | nullrequiredShow propertiesHide properties
string<date-time>nullProblem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
typestringrequiredProblem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.
titlestringrequiredShort human-readable summary of the problem type. The server derives it mechanically from code.
statusintegerrequiredHTTP status code of this response, repeated in the body.
detailstringrequiredHuman-readable failure explanation for this occurrence.
codestringrequiredStable snake_case error code naming the failed public contract.
pointerstringRFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.
detailsobjectMachine-readable context for the error code.
fixstringOne sentence on what to do about this error code, the same text as the type page. Read it before retrying.
suggestionsstring[]Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.
nextstring[]Copy-pasteable commands or API requests an agent can run next.
requestIdstringrequiredThe request id to quote when contacting support.