vk-audio-api-docs

audio.edit

Edits an audio file on a user or community page.

This method can be called with a user token. Access rights required: audio.

Parameters

owner_id ID of the user or community that owns the audio file.
int (number), required parameter
audio_id Audio file ID.
positive number, required parameter
artist Name of the artist.
string
title Title of the audio file.
string
text Text of the lyrics of the audio file.
string
genre_id Genre of the audio file. See the list of audio genres.
positive number
no_search
  • 1 — audio file will not be available for search
  • 0 — audio file will be available for search (default)
flag, either 1 or 0

Result

If lyrics were entered by the user, returns lyrics_id. Otherwise, returns 0.

Errors

Global errors can occur while running. See their descriptions on this page.