Documentation

The command reference below is generated from the binary's own --help, so it describes the version it was built from rather than what someone remembered to write down. This page documents v1.1.0 — check yours with namecheap --version.

Guides

Commands

Global options

Accepted by every command, and omitted from the per-command listings.

-p, --profile <PROFILE>Profile to use
--config <CONFIG>Path to config file
--jsonOutput as JSON
--dry-runDry run mode - don't make any changes
-q, --quietQuiet mode - minimal output
-v, --verboseVerbose output
-y, --yesSkip confirmation prompts
--no-backupDo not snapshot the zone before changing it

Exit codes

Distinct codes so a script can tell a drifted zone from a failed command.

0Success
1General error
2Authentication error
3Domain not found
4Record not found
5Validation error
6Network error
7Verification failed
8dns diff --check found differences