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

      • 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.

Example

Last updated