cloadyDocs
API ReferenceEndpointsWorkspaces

Change a domain's settings

Turns auto-renew on or off and moves a registered domain between Automatic DNS (`nameservers: null`), Cloady's nameservers (ns1 and ns2.cloady.io) and your own nameservers, which stop Cloady's records answering once they propagate. Moving between Automatic DNS and Cloady's nameservers copies the domain's records across first. `dnssec` signs a zone on Cloady's nameservers; publish the DS record from getWorkspaceDomain at the registrar to finish, and remove it there before turning DNSSEC off. Needs the developer role.

PATCH
/api/workspaces/{workspaceSlug}/domains/{domain}
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
domain*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/workspaces/string/domains/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "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}