Update domain contacts (WHOIS)
lw_domain_contacts_updateReplace registrant, admin, and tech contacts on a domain, previewing changes before applying and defaulting admin/tech to the registrant when omitted.
Instructions
Replace the registrant, admin and tech contacts on a domain (bleed Network/DNS/Domain/Contact/update). The API needs all three; admin and tech default to a copy of the registrant when omitted. Preview fetches the current contacts and shows before and after. A registrant change can trigger registrar verification email and a transfer lock. Write: needs LW_ALLOW_WRITES, then a confirmation step (preview first).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"registrant": "<registrant>"
},
"name": "lw_domain_contacts_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tech | No | Tech contact. Defaults to the registrant. | |
| admin | No | Admin contact. Defaults to the registrant. | |
| domain | No | Registered domain name, e.g. example.com. Give this or uniq_id. | |
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| uniq_id | No | Six-character Liquid Web uniq_id of the domain registration (from lw_domain_list or lw_domain_details). | |
| registrant | Yes | Domain contact (WHOIS) record. Field names match the Liquid Web API. | |
| confirm_token | No | Leave empty on the first call to get a preview and a token. Repeat the call with identical parameters plus this token to execute. | |
| sync_all_with_billing | No | Sync all contacts with the account billing contact (API flag sync_all_with_billing; exact effect Unverified). | |
| use_lw_for_tech_contact | No | Use Liquid Web as the tech contact (API flag use_LW_for_tech_contact). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| context | No | ||
| preview | No | ||
| summary | Yes | ||
| warnings | No | ||
| next_page | No | ||
| next_step | No | ||
| truncated | No | ||
| expires_at | No | ||
| confirm_token | No |