MediaWiki:Apihelp-globaluserrights-example-2/en
Add the global user with ID 123 to global group "bot", and remove from global groups "sysop" and "bureaucrat"
Add the global user with ID 123 to global group "bot", and remove from global groups "sysop" and "bureaucrat"