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
action=growthsetmenteestatus
(main | growthsetmenteestatus)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: GrowthExperiments
- License: GPL-3.0-or-later
Set mentee's status (allows mentees to enable/disable mentorship module, or to opt-out entirely, which deletes the mentee/mentor relationship)
Specific parameters:
Other general parameters are available.
- state
New status of the mentee (warning: setting this to optout will permanently deletes mentee/mentor relationship)
- enabled
- Mentoru modulis ir iespējots
- disabled
- Mentorship module is fully disabled. This is normally set by the software and used for A/B testing.
- optout
- Mentee opted out from mentorship; mentee/mentor relationship will be deleted, mentorship module will be replaced with a possibility to opt back in
- This parameter is required.
- One of the following values: disabled, enabled, optout
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.