Assign a new role to existing identities in bulk

Thank you. I will focus on the API approach then.