Can we add the ability to set groups in maintenance mode via API?

We now have the ability to set maintenance mode in individual devices, but can we do groups aswell?

Thanks

For reference: Scheduling maintenance via API - #4 by garysteers