execute.removeAudioFromPlaylist
Remove audios from playlist
Parameters:
Name | Value |
---|---|
playlist_id | Id of the playlist |
owner_id | Id of the owner of the playlist |
audio_ids (optional) | Comma separated list of audio ids — owner_id, audio_id, i.e. 123_456 |
Example (VK Official):
$owner_id = 123;$playlist_id = 456;$audio_ids = '123_5,123_6';curl_setopt($ch, CURLOPT_URL, "https://api.vk.com/method/execute.removeAudioFromPlaylist");curl_setopt($ch, CURLOPT_POSTFIELDS,"v=5.116&https=1&owner_id=${owner_id}&playlist_id=${playlist_id}&audio_ids=".urlencode($audio_ids)."&lang=en&access_token=".TOKEN);