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)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: SocialProfile
  • Licenza: sconosciuta

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

Parametri specifici:
Sono disponibili altri parametri generali.
user

Name of the user whose avatar to remove.

Questo parametro è obbligatorio.
Tipo: utente, da nome utente
reason

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

token

Un token "csrf" recuperato da action=query&meta=tokens

Questo parametro è obbligatorio.
Esempi:
Remove the avatar of the user named "Ashley"
api.php?action=removeavatar&user=Ashley&token=123ABC [apri in una 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 [apri in una sandbox]