Use this focused reference for authentication, Domains, DNS, output flags, and payment methods. It isn't a catalog of every command that ships in gddy: API exploration, hosting, and CLI administration/discovery evolve independently. Run gddy tree to print the exact command tree in your installed version, and gddy <command> --help for syntax and options.
If you haven't installed gddy yet, go to Set up the CLI first.
The installed CLI also includes the following command families. They are intentionally not expanded into a second, incomplete catalog on this page; use the listed help command to inspect the version installed on your machine.
Command family
Use it for
Discover commands
gddy api
Browse API domains and operations, inspect schemas and parameters, call REST or GraphQL operations
gddy api --help
gddy hosting
Create and manage hosting apps, source uploads, deployments, GitHub connections, secrets, logs, and status
gddy hosting --help
CLI administration
Environments (env), Personal Access Tokens (pat), updates (update), feature flags (flags), and shell completion
gddy <family> --help
CLI discovery
Search commands and built-in guides, print the tree, or generate completions
Register the domain from a gddy domain quote token
Charges the account (use --confirm to proceed)
gddy domain contacts init
Write a contacts.toml template for reuse across purchases
Domain purchase
gddy domain purchase doesn't take a domain name directly. It registers whatever gddy domain quote <DOMAIN> locked in, using that command's --quote-token (valid for about 10 minutes). Run gddy guide domain-purchase for the full walkthrough.
The following table lists the gddy commands for DNS management:
Command
Description
gddy dns list <DOMAIN>
List all DNS records on a domain
gddy dns list <DOMAIN> --type A --name www
Filter by record type and name
gddy dns add <DOMAIN> --type A --name www --data 192.0.2.10 --ttl 600
Add a DNS record
gddy dns set <DOMAIN> --type A --name www --data 192.0.2.20 --ttl 600
Replace all records for a type and name
gddy dns delete <DOMAIN> --type A --name www
Delete all records for a type and name
DNS management
gddy dns add appends records. gddy dns set replaces every record for the type and name combination. gddy dns delete removes every record for the type and name (it doesn't remove GoDaddy-managed NS or SOA records). Use --dry-run with destructive commands to preview changes.
The following table lists the gddy commands for payment methods:
Command
Description
gddy payment-methods add
Open the payment-methods page for the current environment
Command coverage
Domain forwarding, registry lock, renewals, and contact updates aren't in the CLI yet. Use the REST API for those operations. Go to About the GoDaddy CLI for what gddy covers.
You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.