Okta Identity Governance
/Management APIs
/- Replace a collection resource
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
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
Replace a collection reso...
Replaces entitlements for an Entitlement Management (EM) enabled app resource in a collection. Only supports resources with type APPLICATION that have Entitlement Management enabled.
PUT
curl -i -X PUT \
'https://subdomain.okta.com/governance/api/v2/collections/{collectionId}/resources/{resourceId}' \
-H 'Content-Type: application/json' \
-d '{
"entitlements": [
{
"id": "esp1d9eM0jbeX6n1v0g4",
"values": [
{
"id": "ent1d9fRafZpFimYB0g4"
},
{
"id": "ent1d9gvE68cz2zCZ0g4"
}
]
},
{
"id": "esp4rg7fkom0c3AsX8g6",
"values": [
{
"id": "ent4rg7fltWSgrlDT8g6"
}
]
}
]
}'Response to a successful collection resource update operation
The ORN identifier for a collection resource (app, group, or push group).
See the supported-resources endpoint.
The unique resource ID for this resource (app, group, or push group). Use this identifier to reference the resource in collection-resource API calls, such as GET/PUT/DELETE /v2/collections/{collectionId}/resources/{resourceId}.
Links available on a resource within a resource collection
Server-resolved configuration details for this resource within the collection
Response
Response showing an app resource with entitlements
{ "resourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ", "resourceId": "res789067asg6asdf7g", "resourceConfiguration": { "entitlementManagementEnabled": true, "type": "APPLICATION", "counts": { … } }, "entitlements": [ { … }, { … } ], "_links": { "resource": { … }, "entitlements": { … } } }