move the invite_membership route to groups and rename to invite_to_group
move the invite method to groups

you invite someone to join a group, not a membership…