Update Contacts
update_contactsEdit a domain's registrant, admin, tech, or billing contacts, update selected roles or all four at once, and validate changes with dry_run before applying.
Instructions
Edit a domain's contacts. Provide contacts keyed by role with ANY subset of registrant/admin/tech/billing (unspecified roles keep their current values), or a single contact applied to all four. Mirrors the website: pushes to the registry on thick TLDs, and a registrant change (name/organization/email) fires the same new-owner notice/verification email — no 60-day transfer lock. Supports dry_run. Note: a registrant name/organization change on a .au domain, or any registrant change on an address-validation TLD (.de/.nrw), is rejected with REGISTRANT_CHANGE_NOT_SUPPORTED — do those at porkbun.com; admin/tech/billing edits still work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to edit, e.g. `example.com` | |
| contact | No | A single contact applied to all four roles. Use this OR `contacts`, not both. | |
| dry_run | No | If true, validate only — returns wouldSucceed without applying the change. | |
| contacts | No | Per-role contacts; include only the roles you want to change. | |
| address_validation_choice | No | For a registrant change on an address-validated TLD (.de/.nrw/.uk/.us/.ca/.nyc/.au/.eu/.in/.nz families) after an ADDRESS_VALIDATION_REQUIRED response: 'accept_suggestion' saves the standardized suggestedAddress returned there; 'use_as_entered' keeps the submitted address (rejected if a real correction was offered). |