Skip to main content

Delete post

Deletes a post by ID

Function DeletePost(Val PostID, Val Parameters = "") Export

ParameterCLI optionTypeDescription
PostID--postString, NumberPost ID
Parameters--authStructure Of StringAuthorization JSON or path to .json

Returns: Map Of KeyAndValue - Serialized JSON response from VK


Code example
    Parameters = GetVKParameters();
PostID = "3754";

Result = OPI_VK.DeletePost(PostID, Parameters);
CLI command example
    
oint vk DeletePost --post "3356" --auth "GetVKParameters()"

Result
{
"response": 1
}