MediaWiki:Apihelp-userrights-param-add

Add the user to these groups, or if they are already a member, update the expiry of their membership in that group.