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=removeavatar

(main | removeavatar)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: SocialProfile
  • License: unknown

Remove an avatar, either yours or if you're privileged, also that of another user.

  • https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:SocialProfile/API/Avatar_removal
Specific parameters:
Other general parameters are available.
user

Name of the user whose avatar to remove.

This parameter is required.
Type: user, by username
reason

Optional reason as to why you're removing someone else's avatar.

token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
Examples:
Remove the avatar of the user named "Ashley"
api.php?action=removeavatar&user=Ashley&token=123ABC [open in sandbox]
Remove the avatar of the user named "Elektra" with "Blatant copyvio" as the deletion reason
api.php?action=removeavatar&user=Elektra&token=123ABC&reason=Blatant copyvio [open in sandbox]
Retrieved from "https://tunearch.org/wiki/Special:ApiHelp"

We use cookies (and similar technologies) to personalise content and improve The Traditional Tune Archive website.

With these cookies we collect few and indispensable information about you. With this we adapt our website and communication to your preferences. You can read more about it in our privacy policy.

If you want to manage your cookie preferences, click on Manage preferences. By clicking on Accept all, you agree to the use of all cookies. You can change or withdraw your consent at any time.

Accept all cookiesManage preferences
Something went wrong
Dismiss