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.
See PingOne Authorize and PingOne Authorize API Access Management for important overview information.
Use Create Resource to create an authorization server resource entity for the customP1ResourceID
variable. Use Read All Resources to find an existing resource entity ID.
Use Create Group to create a user group for the optional groupID
variable. Use Read All Groups to find an existing user group ID.
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 |