Warning: This endpoint will be deleted in the future, use the /users/<int:id>/roles/update/ instead.This endpoint allows you to update the groups of a company member.
Note that this will update all the groups of the member.
It is restricted to admin and company admin users.