GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • GET/v1/domains200 OK✓ ReadyQuickstart Guide→
  • Register a domain + DNS
  • Buy an aftermarket domain
  • Deploy a Node.js app
  • Provision mailboxes
  • Set up a store
  • Sell through checkout
  • Pricing
  • Partners
  • API Tokens
  • Support
  • Docs
  • MCP server
  • Domain

This view

  • Original page
  • New address

GeezerVison is showing developer.godaddy.com — CLI workflow reference

GoDaddy CLICLI workflow reference

CLI workflow reference

View as Markdown

Reference for common gddy workflows: authentication, Domains, DNS, output flags, and payment methods.

Overview

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.

Jump to: Authentication | Domains | DNS | Output and flags | Payment methods

Other command surfaces

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 familyUse it forDiscover commands
gddy apiBrowse API domains and operations, inspect schemas and parameters, call REST or GraphQL operationsgddy api --help
gddy hostingCreate and manage hosting apps, source uploads, deployments, GitHub connections, secrets, logs, and statusgddy hosting --help
CLI administrationEnvironments (env), Personal Access Tokens (pat), updates (update), feature flags (flags), and shell completiongddy <family> --help
CLI discoverySearch commands and built-in guides, print the tree, or generate completionsgddy search <keyword>, gddy guide, gddy tree, gddy completion --help

Authentication and credentials

The following table lists the gddy commands for authentication and credential management:

CommandDescription
gddy auth loginAuthenticate using browser-based login
gddy auth statusShow the current authentication state
gddy pat add --env <ENV> <NAME>Store a Personal Access Token for non-interactive authentication (CI, scripts)
gddy env getShow the active environment
gddy env set <ENVIRONMENT>Set the active environment (for example, ote or prod)

Domains

The gddy domain namespace covers domain availability, search, registration, and management.

Domain search and purchase

The following table lists the gddy commands for domain search and purchase:

CommandDescriptionNote
gddy domain available <DOMAIN>Check whether a single domain is available to register
gddy domain available <DOMAIN> --check-type fullFull registry checkProvides a slower, definitive result
gddy domain suggest "<QUERY>" --tlds com,net,io --limit 5Get domain name suggestions for a keyword or phrase
gddy domain quote <DOMAIN>Quote a domain
gddy domain agreements --tld <TLD>Retrieve the ICANN agreements required for a registration
gddy domain purchase --quote-token <QUOTE_TOKEN> --agree --confirmRegister the domain from a gddy domain quote tokenCharges the account (use --confirm to proceed)
gddy domain contacts initWrite 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.

Domain management

The following table lists the gddy commands for domain management:

CommandDescription
gddy domain listList all domains on the authenticated account
gddy domain list --status ACTIVEFilter domains by status
gddy domain get <DOMAIN>Get full detail for a single domain

DNS

The following table lists the gddy commands for DNS management:

CommandDescription
gddy dns list <DOMAIN>List all DNS records on a domain
gddy dns list <DOMAIN> --type A --name wwwFilter by record type and name
gddy dns add <DOMAIN> --type A --name www --data 192.0.2.10 --ttl 600Add a DNS record
gddy dns set <DOMAIN> --type A --name www --data 192.0.2.20 --ttl 600Replace all records for a type and name
gddy dns delete <DOMAIN> --type A --name wwwDelete 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.

Hosting

The following table lists the key gddy commands for managing hosting applications:

CommandDescription
gddy hosting app create --app-type <APP_TYPE> --name <APP_NAME>Provision a new app
gddy hosting operation get --operation-id <OPERATION_ID>Poll until provisioning complete
gddy hosting source upload --app-id <APP_ID> --file <FILE_PATH>Upload code
gddy hosting source status --app-id <APP_ID> --import-id <IMPORT_ID>Poll until code upload complete
gddy hosting app get --app-id <APP_ID>Get app preview URL
gddy hosting subscription list --hosting-product <HOSTING_PRODUCT>List customer's plans by product
gddy hosting subscription attach --app-id <APP_ID> --subscription-id <SUBSCRIPTION_ID>Attach app to a hosting plan
gddy hosting deployment publish --app-id <APP_ID>Publish the app
gddy hosting deployment get --app-id <APP_ID> --deployment-id <DEPLOYMENT_ID>Poll deployment completion status
gddy hosting app get --app-id <APP_ID>Get app published URL
gddy guide hosting-nodejsPrint the built-in Node.js app guide

WordPress sites

The following table lists the gddy commands for WordPress sites (--app-type MHWP):

CommandDescription
gddy hosting app create --app-type MHWP --name <SITE_NAME>Create a WordPress site
gddy hosting operation get --operation-id <OPERATION_ID>Poll until the create, publish, or unpublish finishes
gddy hosting app list --app-type MHWPList WordPress sites
gddy hosting app get --app-id <APP_ID>Get the site's urls.publish address and status
gddy hosting app publish --app-id <APP_ID>Take the site live
gddy hosting app unpublish --app-id <APP_ID>Put the site back behind its holding page
gddy hosting app update --app-id <APP_ID> --name <SITE_NAME>Rename the site
gddy hosting app delete --app-id <APP_ID>Delete the site
gddy hosting runtime get --app-id <APP_ID>Read the PHP and WordPress versions
gddy guide hosting-wordpressPrint the built-in WordPress site guide

Output and flags

Every command returns structured output. In an interactive terminal the default is human-readable; in pipes, CI, and scripts the default is JSON.

{ "data": { "apiUrl": "https://api.ote-godaddy.com", "env": "ote" } }

Format: -o, --output <json|human|toon> (shortcuts: --json, --human, --toon)

The following table lists the available output shaping and execution flags:

FlagWhat it does
--fields <fields>Select output fields
--filter <jmespath>Filter list items
--expr <jmespath>Transform the whole result
--limit / --offsetPaginate client-side
--verbose [fields]Add execution metadata
--schemaPrint a command's documented output fields without running it
--env <environment>One-off environment override
--dry-runPreview a supported mutation
--credential-store <auto|keyring|file>Choose where credentials are stored
--debug <pattern>Diagnostic logging
--timeout <duration>For example 60s or 5m

Payment methods

The following table lists the gddy commands for payment methods:

CommandDescription
gddy payment-methods addOpen 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.

Related

Guides

  • Set up the CLI
  • Agent skill for gddy
  • Authenticate

Concepts

  • Rate limits

Last updated on

How is this guide?

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.