Okta Identity Governance
/Management APIs
/- Retrieve the collection origins for a batch of assignments
Create a resource collection
List all resource collections
Retrieve a resource collection
Replace a resource collection
Delete a collection
List all collection resources
Add the resources to a collection
Delete a collection resource
Retrieve a collection resource
Replace a collection resource
List all entitlements for a collection resource
Retrieve the unassigned users
List all assignments for a collection
Assign a collection to principals
Update a principal assignment
Delete a principal assignment
List all assignments for all collections
Retrieve the collection o...
OAuth 2.0 scope:
- okta.governance.collections.read
Admin roles:
- APP_ADMIN
Retrieves the collection origins for a batch of assignments, anchored on a single principal (with many resources) or a single resource (with many principals). For each pair, it returns whether the assignment is managed by a collection and the owning collection. It's read-only.
The assignments to look up, anchored on a principal or a resource
Anchor principal. Provide together with resourceOrns.
Example:"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u15uaczkiiNcYf1698"
Anchor resource. Provide together with principalOrns.
Example:"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ"
- https://subdomain.okta.comhttps://subdomain.okta.com/governance/api/v2/collections/assignments/origins
curl -i -X POST \
https://subdomain.okta.com/governance/api/v2/collections/assignments/origins \
-H 'Content-Type: application/json' \
-d '{
"principalOrn": "orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u15uaczkiiNcYf1698",
"resourceOrns": [
"string"
],
"resourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ",
"principalOrns": [
"string"
]
}'