The POST /environments/{environmentId}/customDomains/{customDomainId} operation is used to validate a custom domain resource when the status property value is set to VERIFICATION_REQURIED. This operation uses the application/vnd.pingidentity.domainName.verify+json custom media type as the content type in the request header.

If successful, the response returns a 200 OK message. If no CNAME record was found with the expected domain alias value, the response returns a REQUEST_FAILED/VERFICATION_FAILED error.