MediaWiki:Apihelp-userrights-example-user

From Cassette Beasts

Add user FooBot to group bot, and remove from groups sysop and bureaucrat.