projectsdomains
domains verify
Verify domain ownership
Verify ownership of a custom domain by checking the DNS records configured with
your provider. On success, PgBeam provisions a TLS certificate for the domain.
Run this after adding the CNAME and TXT records shown by pgbeam domains add.
Usage
pgbeam domains verify <id>Options
| Option | Description | Required | Default |
|---|---|---|---|
<id> | ID of the domain to verify | Yes | - |
Global options
All global options (--token, --profile,
--project, --org, --json, --no-color, --debug) are also available on
this command.
Examples
# Verify a domain
pgbeam domains verify dom_xxx
# Verify and get result as JSON
pgbeam domains verify dom_xxx --jsonOutput
On success, prints a confirmation that the domain is verified. On failure, prints an error asking you to check your DNS records and exits with a non-zero code.