Update Custom Domain
Update settings on an existing custom domain — most commonly to rotate DNS-provider credentials when the underlying API token has been refreshed. The domain name itself can't be changed; if you need a different name, register a new one and migrate.
New provider_config is validated against the provider before being persisted (same path as create) — bad credentials return 400 with the specific error.
Subject to the same 10-mutations/min/user rate limit as the rest of /domains/self.
Suspended for an expired registration (status expired): setting is_active or switching to a different provider is refused with 409 — only renewing the domain at your registrar lifts the suspension, and the domain and its endpoints are then reactivated automatically (see Check again). Updating the provider_config credentials of the same provider is still allowed — e.g. replace an expired Cloudflare API token so the platform can read the Cloudflare Registrar record again.
Path parameters
Request body
provider_config.true) or off (false).Response (200 OK)
{"ok": true} (an empty 200 when the body changed nothing). Read the updated domain back from /domains/available.
Errors
code: "domain_expiry_suspended" — the domain is suspended because its registration expired, so it can't be switched on by hand or moved to a different DNS provider. Renew it at your registrar; it is reactivated automatically.