← Все методы

account.setShowAdult

videoclean 2026-10-29: account.setShowAdult — show_adult = 0 | 1 ("Show NSFW content": 18+ videos unblurred and shown in search and Discover). Same storage as the site settings page. Response: 1. Errors: 100 (missing / invalid value), 1 (not available).

Параметры

Параметр Тип Обязательный Описание
show_adult mixed нет

Пример

curl -s -X POST 'https://durovloh.net/api.php' \
  -d 'method=account.setShowAdult' \
  -d 'access_token=USER_TOKEN'