vk-audio-api-docs

audio.restore

Restores a deleted audio file.

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

Parameters

audio_id Audio file ID.
positive number, required parameter
owner_id ID of the user or community that owns the audio file.
int (number), current user id is used by default

Result

Returns an object descibing audio. If audio storage time expires (usually it is 20 minutes), the server will throw error 202 (Cache expired).

Errors

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