MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
pgaction=edituser
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: PracticeGroups
- License: GPL-3.0-or-later
Create or edit a practice group user
- useraction
The user action to invoke
- This parameter is required.
- One of the following values: acceptinvitation, approverequest, demoteadmin, inviteuser, join, joinrequest, promoteadmin
- practicegroupsuser_id
Practice group user ID (0 if creating)
- This parameter is required.
- Type: integer
- practicegroup_id
Practice group ID
- Type: integer
- user_id
User ID
- Type: integer
- user_name
Username (used in place of User ID when not readily available)
- admin
If the user an administrator of the practice group
- Type: integer
- active_since
The Unix timestamp when the user became an active user of the practice group
- Type: integer
- invited_since
The Unix timestamp when the user was invited to join the practice group
- Type: integer
- requested_since
The Unix timestamp when the user requested to join the practice group
- Type: integer
- request_reason
The reason the user submitted when requesting to join the practice group
- awaiting_email_verification_since
The Unix timestamp when the user submitted an affiliated email for verification to join the practice group
- Type: integer
- affiliated_email
The affiliated email address submitted by the user for verification to join the practice group
- approved_by_user_id
The ID of the user who was responsible for making the user a member of the practice group
- Type: integer
- display_order
A value used to sort the users practice groups
- Type: integer
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.