Okta Identity Governance
/End user APIs
//
Submit my review actions
OAuth 2.0 scope:
- okta.governance.reviewer.manage
Submits actions for reviews that are assigned to you in the specified campaign.
You can specify a maximum of 50 review actions in a request.
For each review, specify the APPROVE, REVOKE, or REASSIGN action.
If you reassign a review (action=REASSIGN), you must also include the reviewerId and justification parameters. All your REASSIGN reviews must have the same reviewerId in a single request.
A successful request returns the updated reviews based on the submitted actions.
POST
- Payload to revoke access for two reviews
- Payload to reassign two reviews to another reviewer
- Payload with a combination of REASSIGN, APPROVE, and REVOKE actions in a single request
curl -i -X POST \
'https://okta-subdomain.pixtulate.com/governance/api/v1/my/campaigns/{campaignId}/reviews/actions' \
-H 'Content-Type: application/json' \
-d '{
"reviews": [
{
"reviewId": "icraveS4pQxfJrPRa0g3",
"action": "REVOKE",
"note": "Reviewed during Q1 access certification"
},
{
"reviewId": "icran1tBlqTx9Qdvz0g3",
"action": "REVOKE",
"note": "Reviewed during Q1 access certification"
}
]
}'Response
- Two reviews revoked |tooltip| The `decision` and `decided` properties are updated after two reviews were revoked.
- Two reviews reassigned to another reviewer |tooltip| After two reviews were reassigned, the `reviewerProfile` properties were updated, while the `decision` remains `UNREVIEWED`.
- Combination of reassigned, approved, and revoked reviews |tooltip| After submitting `REASSIGN`, `APPROVE`, and `REVOKE` actions, reassigned reviews have updated `reviewerProfile` while the `decision` remains `UNREVIEWED`. Approved and revoked reviews have `decision` and `decided` properties updated.
The `decision` and `decided` properties are updated after two reviews were revoked.
{ "data": [ { … }, { … } ], "_links": { "self": { … } } }