Attach a custom domain to an environment and start verifying it. The domain remains pending until its DNS records are verified.
Usage#
Flags#
Project ID or slug.
App ID or slug.
Environment ID or slug.
Fully qualified domain name without a scheme, port, or path.
Global Flags#
| Flag | Type | Description |
|---|---|---|
--root-key | string | Override root key ($UNKEY_ROOT_KEY) |
--api-url | string | Override API base URL (default: https://api.unkey.com) |
--config | string | Path to config file (default: ~/.unkey/config.toml) |
--output | string | Output format. Use json for raw JSON |
--body | string | Send this JSON string as the request body. You cannot combine it with request-building flags. |
Examples#
See Custom domains for DNS and verification details.