Assign Reviewers
Assign reviewers to every subject a selection matches, by strategy or by naming them, and report each subject left unassigned.
filters and search select subjects as GET .../subjects does, so a list call’s predicates can be replayed here unchanged. explicit assigns every reviewer in reviewer_ids to every selected subject, so splitting subjects among different reviewers takes one call per reviewer. The other strategies find each subject’s own reviewers.
The call is synchronous. matched_count counts the subjects selected and applied_count those that have at least one of them. skipped[] names each subject skip left as it was, as subject.already_assigned, and errors[] names each of the rest, both by the subject’s id in field. So matched_count is always applied_count plus the lengths of skipped[] and errors[]. An error’s code is one of reviewer.inactive, reviewer.own_account, subject.unmatched_account, reviewer.unresolved_manager, reviewer.unresolved_app_admin, reviewer.unresolved_permission_owner, subject.not_found. Read the result back from GET .../subjects.
Only active users and groups are assigned, and no one is assigned to review their own account. A subject whose managers or permission owners are all inactive is reported as reviewer.inactive; an app with no active admin reports reviewer.unresolved_app_admin. A reviewer either rule leaves off a subject is not reported when another reviewer lands on it: the app admin whose own account is under review is left off that account only.
Reviewers can be assigned while the app review is assigning reviewers or in review; a reviewer assigned in review is notified.
Authorizations
Path Parameters
Body
How each subject's reviewers are found: app-admin assigns the app's admins, permission-owner the owner of each subject's entitlement (entitlements reviews only), manager the manager of the person each account belongs to, and explicit every reviewer in reviewer_ids.
app-admin, permission-owner, manager, explicit What happens to a subject that already has reviewers: skip leaves it alone and reports it in skipped[] as subject.already_assigned, add keeps its reviewers and adds the new ones, and replace swaps its reviewers for the new ones. A subject no reviewer is found for keeps the reviewers it had, whichever is chosen.
skip, add, replace Response
Successful Response
What a bulk action was asked to act on, and what it managed to act on.