미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=removeavatar
(main | removeavatar)
- 이 모듈은 read 권한을 요구합니다.
- 이 모듈은 write 권한을 요구합니다.
- 이 모듈은 POST 요청만을 허용합니다.
- 출처: SocialProfile
- 라이선스: 알 수 없음
Remove an avatar, either yours or if you're privileged, also that of another user.
특정 변수:
다른 일반 변수를 사용할 수 있습니다.
- user
Name of the user whose avatar to remove.
- 이 변수는 필수입니다.
- 형태: 사용자 이름에 따른 사용자
- reason
Optional reason as to why you're removing someone else's avatar.
- token
"csrf" 토큰은 action=query&meta=tokens에서 가져옵니다
- 이 변수는 필수입니다.
예시:
- Remove the avatar of the user named "Ashley"
- api.php?action=removeavatar&user=Ashley&token=123ABC [연습장에서 열기]
- 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 [연습장에서 열기]