Optional
requestOptions: CustomDomains.RequestOptionsRequest-specific configuration.
Create a new custom domain.
Note: The custom domain will need to be verified before it will accept requests.
Optional attributes that can be updated:
TLS Policies:
Optional
requestOptions: CustomDomains.RequestOptionsRequest-specific configuration.
Retrieve a custom domain configuration and status.
ID of the custom domain to retrieve.
Optional
requestOptions: CustomDomains.RequestOptionsRequest-specific configuration.
Delete a custom domain and stop serving requests for it.
ID of the custom domain to delete.
Optional
requestOptions: CustomDomains.RequestOptionsRequest-specific configuration.
Update a custom domain.
These are the attributes that can be updated:
custom_client_ip_header
for a domain, the body to
send should be:
{ "custom_client_ip_header": "cf-connecting-ip" }
tls_policy
for a domain, the body to send should be:
{ "tls_policy": "recommended" }
TLS Policies:
Some considerations:
compatible
TLS policy is no longer supported.The id of the custom domain to update
Optional
requestOptions: CustomDomains.RequestOptionsRequest-specific configuration.
Run the test process on a custom domain.
ID of the custom domain to test.
Optional
requestOptions: CustomDomains.RequestOptionsRequest-specific configuration.
Run the verification process on a custom domain.
Note: Check the status
field to see its verification status. Once verification is complete, it may take up to 10 minutes before the custom domain can start accepting requests.
For self_managed_certs
, when the custom domain is verified for the first time, the response will also include the cname_api_key
which you will need to configure your proxy. This key must be kept secret, and is used to validate the proxy requests.
Learn more about verifying custom domains that use Auth0 Managed certificates. Learn more about verifying custom domains that use Self Managed certificates.
ID of the custom domain to verify.
Optional
requestOptions: CustomDomains.RequestOptionsRequest-specific configuration.
Protected
_
Retrieve details on custom domains.