Verify a custom domain
Checks for the `verification` TXT record (`_cloady.<domain>`) or a delegation to Cloady's nameservers and, when either is there, marks the domain and its subdomains in this workspace verified. Answers the domain's settings; `verified` says whether it passed. New records can take a few minutes to appear. Needs the developer role.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/workspaces/string/domains/string/verify"{ "domain": "string", "kind": "registered", "dns": "registrar", "verified": true, "verification": { "name": "string", "value": "string" }, "zoneTaken": true, "nameservers": [ "string" ], "registration": { "expiresAt": "string", "autoRenew": true, "renewal": -9007199254740991, "privacy": true, "locked": true, "glue": [ { "host": "string", "ips": [ "string" ] } ] }, "dnssec": { "enabled": true, "ds": [ { "keyTag": -9007199254740991, "algorithm": -9007199254740991, "digestType": -9007199254740991, "digest": "string" } ] }, "transfer": { "direction": "in", "status": "pending", "startedAt": "string", "registrar": "string", "error": "string", "price": -9007199254740991, "detail": "string", "paymentIntentId": "string", "refund": "pending", "submitted": true }, "transferPrice": -9007199254740991}Remove a domain no app uses DELETE
Removes a custom domain that no app serves from the workspace. A domain registered through Cloady stays (it is a registration), and one an app serves is detached in that app's settings first. Needs the developer role.
Renew a domain now POST
Renews a domain registered through Cloady for one more year, charged to the workspace's card now, whatever its auto-renew setting. A registry refuses a renewal within 30 days of the last one (409 `renewal_too_soon`). `dryRun` quotes it; send the quoted `price` with the order. A card the bank wants to authenticate answers 402 `payment_action_required` with `clientSecret`, `paymentIntentId` and `publishableKey` in `details`: confirm it with Stripe.js, then repeat the request with `paymentIntentId`. If the order fails after the charge, the charge is refunded, and the error says whether the refund went through or is pending (Cloady retries it). 502 `renewal_unconfirmed` means the registrar didn't answer: the new expiry shows within the hour, or the charge is refunded. Needs the owner role.