Support for assigning roles across all environments via API
The member_invitations endpoint now supports setting roles for new collaborators in all available environments, not just Dev. We have maintained backward compatibility with the previous logic, so you can use either role_name or env_roles to set roles for collaborators.