MediaWiki:Apihelp-query+users-param-token/en

Use action=query&meta=tokens instead.