This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
Change a user's group membership.
User.
Specify user=#ID instead.
Add the user to these groups, or if they are already a member, update the expiry of their membership in that group.
Expiry timestamps. May be relative (e.g. 5 months or 2 weeks) or absolute (e.g. 2014-09-18T12:34:56Z). If only one timestamp is set, it will be used for all groups passed to the add parameter. Use infinite, indefinite, infinity, or never for a never-expiring user group.
Remove the user from these groups.
Reason for the change.
A "userrights" token retrieved from action=query&meta=tokens
For compatibility, the token used in the web UI is also accepted.
Change tags to apply to the entry in the user rights log.
Watch the user's user and talk pages.