PingOne Platform APIs

Create a Custom Domain

This activity shows you how to create and verify a custom domain and import an SSL certificate.

This use case illustrates the following operations supported by the PingOne APIs:

  • Create a domain

  • Verify a domain

  • Import a certificate

Workflow order of operations

To create a custom domain, you’ll need to:

  1. Make a POST request to {{apiPath}}/environments/{{envID}}/customDomains to add a new custom domain entity to the specified environment.

  2. Make a POST request to {{apiPath}}/environments/{{envID}}/customDomains/{{customDomainID}} to validate a custom domain when the status property value is set to VERIFICATION_REQURIED.

  3. Make a POST request to {{apiPath}}/environments/{{envID}}/customDomains/{{customDomainID}} to import the SSL certificate used by the custom domain.