Add a domain
Changed onAdd a new domain for your instance. Useful in the case of multi-domain instances, allows adding satellite domains to an instance. The new domain must have a name. The domain name can contain the port for development instances, like localhost:3000. Set is_satellite to true to add a satellite domain. To migrate a production instance from an active provider domain to its first custom primary domain, set is_satellite to false. The custom domain becomes active and the provider domain stays attached. Additional custom primary domains are not supported. If you're planning to configure the new satellite domain to run behind a proxy, pass the proxy_url parameter accordingly. Adding a custom primary domain returns 403 domain_managed_by_integration for applications in a Vercel-managed workspace; change the domain from the Vercel integration instead.
Request
- Base URL: https://api.clerk.com/v1
- URL: https://api.clerk.com/v1/domains
- Auth: HTTP bearer
Request body
Response
A domain
Changes
- info
added the non-success response with the status
- info
- breaking
removed the enum value
trueof the request property
- breaking