Memberships connects a User with one or more Organizations. A Membership is created when a User is added to an organization, and it becomes "inactive" when a User leaves or is removed from an Organization.
You can update the field
role_id and its value can be one of
'restricteduser' for the corresponding predefined role, or an ID of a Role.
Any field that can be updated on a membership individually can also be used to bulk update multiple memberships. To issue a bulk update,
pass their comma separated ids into
_params as shown in the example below.