Add subgroups endpoint.