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:
-
Make a
POSTrequest to{{apiPath}}/environments/{{envID}}/customDomainsto add a new custom domain entity to the specified environment. -
Make a
POSTrequest to{{apiPath}}/environments/{{envID}}/customDomains/{{customDomainID}}to validate a custom domain when thestatusproperty value is set toVERIFICATION_REQURIED. -
Make a
POSTrequest to{{apiPath}}/environments/{{envID}}/customDomains/{{customDomainID}}to import the SSL certificate used by the custom domain.