- List all resources with owners
- okta.governance.resourceOwner.read
- SUPER_ADMIN
- okta.apps.read
- okta.users.read
- okta.groups.read
Lists all resources with assigned owners for an app (the parent resource) or for standalone AI agents.
For this request, you must specify the filter query parameter with either a parentResourceOrn (for apps, groups, entitlements, and bundles), a resource.orn filter expression (for collections resource type), or resource.type eq "ai-agents" (for AI agents, optionally combined with parentResourceOrn to scope to a specific AI agent or principal.orn to filter by owner). This method returns all the resources, such as entitlements, entitlement bundles, or AI agents, that have owners assigned.
A filter expression that returns entries based on the following properties and supported operators:
parentResourceOrn: supportseqresource.orn: supportseqresource.type: supportseqresource.profile.name: supportsswandco(bothparentResourceOrnandresource.typefilters are required forresource.profile.namefiltering)principal.orn: supportseq(must be combined withresource.type eq "ai-agents")
Note: Query parameter percent encoding is required. See Special characters.
Note: The principal referenced by
principal.ornmust already exist as a registered resource owner in the system. If the principal has never been assigned as an owner, the API returns a400error rather than an empty result set.
Specifies the pagination cursor for the next page of results. Treat this as an opaque value obtained through the standard link headers. See pagination.
Adds additional properties in the response
| Items Value | Description |
|---|---|
| parent_resource_owner | If the parent resource has an owner assigned, then the parent resource is included in the |
curl -i -X GET \
'https://okta-subdomain.pixtulate.com/governance/api/v1/resource-owners?filter=parentResourceOrn%20eq%20%22orn%3Aokta%3Aidp%3A00o11edPwGqbUrsDm0g4%3Aapps%3Asalesforce%3A0oafxqCAJWWGELFTYASJ%22&limit=20&after=00u68w6vzKLultXS97g6&include=parent_resource_owner'- Resource owners list success response
- Resource owners list success with parent resource owner included response
- Resource owners list success response for AI agents
{ "data": [ { … }, { … }, { … } ], "_links": { "self": { … } }, "metadata": { "total": 10 } }