MediaWiki:Apihelp-userrights-example-expiry

Add user SometimeSysop to group sysop for 1 month.