api calls to make a group public/private