Identity Broker REST API Reference

UnboundID Logo

/templates/{id}/policies

Mount Point: /auth/api/v1/templates/{id}/policies/

GET

Retrieve all policies that have been instantiated from a template.

Parameters

name description type default
id Either the template's XACML policy ID (URN) or the template's dataStore Id. path
includeXml whether to include the XACML XML body in the response. Specify true to include XACML for policies or false otherwise. query false
startIndex The index number of the first item to be provided in the results. A null value is equivalent to 0. query 0
count The maximum number of items to be provided in the results. A null value signifies no maximum. query
sortBy Specifies how the results should be sorted. Allowed values are NAME_ASCENDING, NAME_DESCENDING, POLICY_ID_ASCENDING, POLICY_ID_DESCENDING, POLICY_ENABLED, and POLICY_DISABLED. A null value returns items in an unspecified order. query NAME_ASCENDING
excludesList comma-separated list of ids to exclude from results. query

Response Body

result: persistedPolicy
media types: application/json

Paged results of all Policy instances

Status Codes

code description
200 Success