The following sample shows the POST /environments/{{envID}}/apiServers operation to create a new API service 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.

Prerequisites

For property descriptions, see API service data model

Property Type? Required?
authorizationServer Object Required
authorizationServer.resource Relationship Required
authorizationServer.resource.id UUID Required
baseUrls Array Required
name String Required