Okta Identity Governance
/Management APIs
/- Add the resources to a collection
Create a resource collection
List all resource collections
Retrieve a resource collection
Replace a resource collection
Delete a collection
List all collection resources
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
Add the resources to a co...
Adds the resources to a collection
Array []
The ORN identifier for a collection resource (app, group, or push group).
See the supported-resources endpoint.
POST
- Add apps with entitlements and apps with push groups to a collection
- Add groups and push groups to a collection
- Add resources with various types to a collection |tooltip| A single API request adding multiple resource types (apps, groups, push groups) to a collection
curl -i -X POST \
'https://okta-subdomain.pixtulate.com/governance/api/v2/collections/{collectionId}/resources' \
-H 'Content-Type: application/json' \
-d '[
{
"resourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ",
"entitlements": [
{
"id": "espo3v6xlwdtEX2il1d6",
"values": [
{
"id": "ento3v6xmkviXCltm1d6"
},
{
"id": "ento3v6xk6nOq7lm51d6"
}
]
},
{
"id": "esp4rg7fkom0c3AsX8g6",
"values": [
{
"id": "ent4rg7fltWSgrlDT8g6"
}
]
}
]
},
{
"resourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:workday:0oa4z5j8pzVrBCFYt0g7"
},
{
"resourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:slack:0oaXYZ123ABC456DEF78"
},
{
"resourceOrn": "orn:okta:directory:00o11edPwGqbUrsDm0g4:groups:00go3v6xlwdtEX2il1d6"
},
{
"resourceOrn": "orn:okta:directory:00o11edPwGqbUrsDm0g4:groups:00g4rg7fkom0c3AsX8g6"
}
]'A successful add resources to collection list response
Link relations available using the JSON Hypertext Application Language
Response
Response after adding various types of resources (apps, groups, push groups) to a collection
{ "data": [ { … }, { … }, { … }, { … }, { … }, { … } ], "_links": { "self": { … } }, "metadata": { "count": 6 } }