Update a domain
Changed onThe proxy_url can be updated only for production instances. Update one of the instance's domains. Both primary and satellite domains can be updated. If you choose to use Clerk via proxy, use this endpoint to specify the proxy_url. Whenever you decide you'd rather switch to DNS setup for Clerk, simply set proxy_url to null for the domain. When you update a production instance's primary domain name, you have to make sure that you've completed all the necessary setup steps for DNS and emails to work. Expect downtime otherwise. Updating a primary domain's name will also update the instance's home origin, affecting the default application paths. Updating the name or is_secondary of a 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/{domain_id}
- Auth: HTTP bearer
Path parameters
The ID of the domain that will be updated.
Request body
Response
A domain
Changes
- info
added the non-success response with the status
- info
- info
added the optional property
to the response with the status
- info