Okta Identity Governance
/Management APIs
/- Update a principal assignment
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
Delete a principal assignment
List all assignments for all collections
Update a principal assign...
Updates a principal assignment
The writable attributes of a collection assignment
Array []
The operation performed for the update
Enum:"ADD""REMOVE""REPLACE"
The path of the property that's updated. For example, /expirationTime and /timeZone for the assignment update.
PATCH
- Add - Add an expiration time and time zone |tooltip| Request body for adding an expiration time and time zone
- Update - Replace an expiration time and time zone |tooltip| Request body for replacing an expiration time and time zone
- Remove - Remove an expiration time and time zone |tooltip| Request body for removing an expiration time and timezone
curl -i -X PATCH \
'https://okta-subdomain.pixtulate.com/governance/api/v2/collections/{collectionId}/assignments/{assignmentId}' \
-H 'Content-Type: application/json' \
-d '[
{
"op": "ADD",
"path": "/expirationTime",
"value": "2024-04-30T23:59:59Z"
},
{
"op": "ADD",
"path": "/timeZone",
"value": "America/Toronto"
}
]'