← All methods

friends.edit

friends.edit — назначить друга в списки (list_ids через запятую; пусто = снять со всех).

Parameters

Parameter Type Required Description
user_id mixed no
list_ids mixed no

Example

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