VK icon

VK

Работа с API ВКонтакте (личная страница)

📝 Постинг контента → Удалить запись

AI-generated

Summary

Delete a post from a VKontakte wall using the specified owner ID and post ID.

Inputs

  • ownerId — The ID of the wall owner (user or community). 0 indicates the current user's wall, negative for community walls.
  • postId (required) — The ID of the post to delete. This is required.

Output shape

a single JSON object indicating the deletion result from VK API

The output contains the VK API response, which confirms the deletion status or error. The operation uses HTTP POST on the 'wall.delete' endpoint and requires valid authentication.

Examples

Example 1: Delete a post by specifying a community wall owner ID (negative number) and the post ID to remove it from that community's wall.

Set 'ownerId' to the community's wall ID (e.g., -123456) and 'postId' to the target post's ID.

Links

Discussion