manage_domain
Dispatch domain management actions: replace nameservers, enable/disable lock, autorenew, ID protection, or email EPP code.
Instructions
Dispatch a single domain management action. Requires scope domains:write. Plain write — not gated. id comes from list_domains. action selects the operation: nameservers (replace 2-5, pass nameservers), lock (transfer lock, pass enabled), autorenew (pass enabled), idprotect (WHOIS privacy, pass enabled), epp (emails the transfer/EPP code to the registrant — no extra fields). See get_domain_management for the current state before choosing an action. When enabled is omitted the server defaults are ASYMMETRIC: lock and autorenew default to true, idprotect defaults to false — always pass enabled explicitly rather than relying on the omitted-value default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Domain id from list_domains. | |
| action | Yes | The registrar action to dispatch. | |
| enabled | No | Used by lock / autorenew / idprotect actions. | |
| nameservers | No | Required when action is 'nameservers'. |