The following sample shows the POST /environments/{{envID}}/apiServers operation to create a new API server endpoint resource associated with the environment specified in the request URL. The request body specifies the name, baseURLs, and authorizationServer.resource.id value that specifies the UUID for a custom resource defined in PingOne.