Update custom domain configuration
Update a custom domain.
These are the attributes that can be updated:
- custom_client_ip_header
- tls_policy
Updating CUSTOM_CLIENT_IP_HEADER for a custom domain
To update the custom_client_ip_header for a domain, the body to
send should be:
{ "custom_client_ip_header": "cf-connecting-ip" }
Updating TLS_POLICY for a custom domain
To update the tls_policy for a domain, the body to send should be:
{ "tls_policy": "recommended" }
TLS Policies:
- recommended - for modern usage this includes TLS 1.2 only
Some considerations:
- The TLS ciphers and protocols available in each TLS policy follow industry recommendations, and may be updated occasionally.
- The
compatibleTLS policy is no longer supported.
Documentation Index
Fetch the complete documentation index at: https://docs-dev.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The id of the custom domain to update
Body
recommended includes TLS 1.2
recommended The HTTP header to fetch the client's IP address
true-client-ip, cf-connecting-ip, x-forwarded-for, x-azure-clientip, Domain metadata associated with the custom domain, in the form of an object with string values (max 255 chars). Maximum of 10 domain metadata properties allowed.
Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain.
255Response
Custom domain updated.
ID of the custom domain.
Domain name.
Whether this is a primary domain (true) or not (false).
Custom domain configuration status. Can be failed, pending_verification, or ready.
pending_verification, ready, failed Custom domain provisioning type. Can be auth0_managed_certs or self_managed_certs.
auth0_managed_certs, self_managed_certs Domain verification settings.
Whether this is the default custom domain (true) or not (false).
The HTTP header to fetch the client's IP address
The TLS version policy
Domain metadata associated with the custom domain, in the form of an object with string values (max 255 chars). Maximum of 10 domain metadata properties allowed.
Certificate information. This object is relevant only for Custom Domains with Auth0-Managed Certificates.
Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not present, the full domain will be used.