Create Application Resource
POST {{apiPath}}/environments/{{envID}}/resources/{{resourceID}}/applicationResources
The following sample shows the POST /environments/{{envID}}/resources/{{resourceID}}/applicationResources
operation to create a new application resource. The request body specifies the name
of the new application resource and an optional description
.
Property | Type? | Required? |
---|---|---|
name | String | Required |
description | String | Optional |
Request Body
{"name"=>"accounts"}
RESPONSES
status: Created
{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/resources/4ae5e950-6cf5-4109-87de-ccadd1363c13/applicationResources"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"permissions":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/applicationResources/4688c52b-abaf-4877-acdc-6ded5372aa26/permissions"},"parent":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/resources/4ae5e950-6cf5-4109-87de-ccadd1363c13"}},"environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"id":"4688c52b-abaf-4877-acdc-6ded5372aa26","parent":{"id":"4ae5e950-6cf5-4109-87de-ccadd1363c13","type":"PING_ONE_RESOURCE"},"name":"accounts"}