Read One Schema

GET {{apiPath}}/environments/{{envID}}/schemas/{{schemaID}}

To get data for a single schema resource, the GET /environments/{{envID}}/schemas/{{schemaID}} operation returns data only for the schema resource with the ID specified in the request URL.

You can also retrieve the specified schema with its attributes expanded using GET /environments/{{envID}}/schemas/{{schemaID}}?expand=attributes. The output returned represents the schema for a single resource and all its attributes. Attributes and their values are listed in the _embedded links.

RESPONSES

status: OK

{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/schemas/6497b7af-99d1-4217-8a82-057fcc3b7401"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"attributes":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/schemas/6497b7af-99d1-4217-8a82-057fcc3b7401/attributes"}},"name":"User","description":"User resource stored in the directory","id":"6497b7af-99d1-4217-8a82-057fcc3b7401","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}}