- List all resource collections
Lists all resource collections
Specifies the pagination cursor for the next page of results. Treat this as an opaque value obtained through the standard link headers. See pagination.
A filter expression that filters data based on id, name, resourceOrn, or principalOrn resource collection properties. The sw and co operators are supported for name, and the eq operator is supported for id, resourceOrn, and principalOrn.
When filtering by resourceOrn, Okta returns only collections that contain the specified resource. Each collection in the response includes a resourceRelationship object with details about when the resource was added.
When filtering by principalOrn, Okta returns only collections assigned to the specified principal. Each collection in the response includes a principalAssignment object with assignment details.
Note: Query parameter percent encoding is required. See Percent-encoding.
curl -i -X GET \
'https://okta-subdomain.pixtulate.com/governance/api/v2/collections?include=counts&limit=20&after=00u68w6vzKLultXS97g6&filter=name%20sw%20%22Sales%22'A successful resource collection list response (v2)
Link relations available using the JSON Hypertext Application Language
- Collections list |tooltip| List of collections
- Collections list filtered by resourceOrn |tooltip| List of collections containing a specific resource with resource relationship details
- Collections list filtered by principalOrn |tooltip| List of collections assigned to a specific principal with assignment details
{ "data": [ { … }, { … }, { … } ], "_links": { "next": { … }, "self": { … } }, "metadata": { "total": 3 } }