update_organization_members_role
imerit_ango.sdk.SDK.
update_organization_members_role(organization_id, role_updates)
Modify the roles of specified members within the organization.
Parameters
organization_id: string
The unique identifier for the organization. You can find the organization ID in the user interface.
role_updates: List[RoleUpdate]
A list of role updates for the members. Each RoleUpdate object contains the following attributes:
RoleUpdate
email: string
The email address of the member whose role is to be updated.
Example:
"[email protected]"
organization_role: OrganizationRoles
The new role assigned to the member within the organization. Options include:
OrganizationRoles.Member
OrganizationRoles.Admin
Returns:
output: dict
A dictionary containing the result of the operation.
The email addresses provided in role_updates must belong to existing organization members.
Example
Last updated