Skip to main content

delete-domain

Delete a custom domain from your workspace
1 min read

Delete a custom domain and stop serving traffic for it. DNS records at your provider remain in place.

Usage#

Flags#

--domainstringrequired#
Domain ID or fully qualified domain name.

Global Flags#

FlagTypeDescription
--root-keystringOverride root key ($UNKEY_ROOT_KEY)
--api-urlstringOverride API base URL (default: https://api.unkey.com)
--configstringPath to config file (default: ~/.unkey/config.toml)
--outputstringOutput format. Use json for raw JSON
--bodystringSend this JSON string as the request body. You cannot combine it with request-building flags.

Examples#

See Custom domains for DNS and verification details.