con un clic
dn-contacts-set
// Update domain contact information (WHOIS contacts) using the dn CLI. Use when the user wants to change owner, admin, tech, or billing contacts for a domain. Partner mode only.
// Update domain contact information (WHOIS contacts) using the dn CLI. Use when the user wants to change owner, admin, tech, or billing contacts for a domain. Partner mode only.
Verify that the dn CLI is installed and configured. Use when the user first installs the domain-names plugin, or when a dn command fails because the CLI is missing or not set up.
View the WordPress.com shopping cart using the dn CLI. Use when the user wants to see what domains are in their cart before checkout. User mode only - not available in partner mode.
Check domain name availability and pricing using the dn CLI. Use when the user wants to know if a domain is available, see domain pricing, or verify multiple domains at once. Supports both partner mode (Domain Services API) and user mode (WordPress.com API).
Open WordPress.com checkout in the browser using the dn CLI. Use when the user wants to complete a domain purchase after adding domains to cart. User mode only.
Set up credentials for the dn CLI tool. Use when the user needs to authenticate, switch between partner and user mode, set up API keys, or connect their WordPress.com account via OAuth. Also use when the user mentions "dn configure" or needs to reconfigure their dn CLI setup.
Delete a domain registration using the dn CLI. Use when the user wants to remove or cancel a domain. Shows a confirmation prompt before proceeding. Partner mode only - user mode redirects to WordPress.com.
| name | dn-contacts-set |
| description | Update domain contact information (WHOIS contacts) using the dn CLI. Use when the user wants to change owner, admin, tech, or billing contacts for a domain. Partner mode only. |
Update contact information for a domain.
# Interactive (prompts for all fields)
dn contacts:set example.com
# Specify contact type
dn contacts:set example.com --type=admin
# Non-interactive
dn contacts:set example.com --type=owner \
--first-name=John --last-name=Doe \
--email=john@example.com --phone=+1.5551234567 \
--address="123 Main St" --city=Springfield --state=IL \
--postal-code=62701 --country=US
# Opt out of automatic transfer lock after contact change
dn contacts:set example.com --transferlock-opt-out
| Option | Description |
|---|---|
--type | Contact type: owner, admin, tech, billing (default: owner) |
--transferlock-opt-out | Skip automatic transfer lock after contact change |
--first-name, --last-name, etc. | Contact details (prompted if missing) |
wordpress.com/domains/manage--transferlock-opt-out to skip)contacts:set