Creates user-institution memberships for the specified users. Skips users who are already enrolled or invalid. Requires users.add entitlement for the target institution.
JWT token passed in x-access-token header
Institution ID to enroll users into
"67826dfe5d387207aabd6fc1"
Array of user IDs to enroll
[
"67826dfe5d387207aabd6fc1",
"67826dfe5d387207aabd6fc2"
]Role for the new memberships
user, admin "user"
Admin entitlements to grant (only relevant when accountType is admin)
[
"institutions.list",
"users.list",
"users.edit"
]Users enrolled successfully