
Description
Set or remove the transfer lock on a domain using the dn CLI. Use when the user wants to lock or unlock a domain to prevent or allow transfers to another registrar. Partner mode only.
SKILL.md
dn transferlock
Set or remove the transfer lock on a domain.
Usage
# Lock domain (prevent transfers)
dn transferlock example.com on
# Unlock domain (allow transfers)
dn transferlock example.com off
Arguments
| Argument | Description |
|---|---|
domain | Domain name |
state | on (lock) or off (unlock) |
Notes
- Partner mode only - user mode shows redirect to
wordpress.com/domains/manage - Transfer lock should be disabled before initiating an outbound transfer
- Use
dn info <domain>to check current lock status
More skills from the dn-cli repository
View all 18 skillsdn-cart
view WordPress.com domain cart
Apr 6CLIDomainsWordPressdn-check
check domain availability and pricing
Apr 6CLIDomainsdn-checkout
open WordPress.com checkout for domain purchases
Apr 6CLIDomainsWordPressdn-configure
configure dn CLI credentials
Apr 6AuthenticationCLIDomainsdn-contacts-set
update domain WHOIS contacts
Apr 6CLIDomainsWordPressdn-delete
delete domain registrations via dn CLI
Apr 6CLIDomainsWordPress
More from Automattic
View publisherannotate
collect visual feedback with browser annotation tools
studio
May 6FrontendProductivityUX CopyUX Designblock-content
write editable WordPress block markup
studio
May 27Block EditorCSSHTMLWordPresshosting-plans-helper
provide WordPress.com hosting plan information
studio
Jul 2PricingReferenceWordPressliberate
migrate websites to WordPress
studio
Jul 9CMSMigrationWeb DevelopmentWordPressneed-for-speed
run frontend performance audits for WordPress sites
studio
May 6AuditFrontendPerformanceWordPressplugin-recommendations
recommend WordPress plugins for site features
studio
May 27Content CreationPlugin DevelopmentWordPress