Maybe these are old and incorrect and I shouldn't be basing my changes on them: 

https://github.com/Katello/katello/blob/master/app/views/api/v2/systems/add_system_groups.json.rabl
https://github.com/Katello/katello/blob/master/app/views/api/v2/systems/remove_system_groups.json.rabl