Skip to main content

Delete image

Deletes an image from the album

Function DeleteImage(Val ImageID, Val Parameters = "") Export

ParameterCLI optionTypeDescription
ImageID--pictureidString, NumberImage ID
Parameters--authStructure Of StringAuthorization JSON or path to .json

Returns: Map Of KeyAndValue - Serialized JSON response from VK


Code example
    Parameters = GetVKParameters();
ImageID = "457247397";

Result = OPI_VK.DeleteImage(ImageID, Parameters);
CLI command example
    
oint vk DeleteImage --pictureid "457246566" --auth "GetVKParameters()"

Result
{
"response": 1
}