Is it possible to update the values in an agentgroup via script?

Discussion created by JohnO'Mullane on Mar 25, 2016
Latest reply on Mar 28, 2016 by Roney.Uba
Today I have many Scripts which populated data into VARA's.
I want to see if it is possible to do the same for the AgentGroup object.
Rather that having a static list of Agents, which need to be updated manually, I'm trying to see if this can be automated.

Has anyone tried to do this?