VK icon

VK

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

🔧 Утилиты → Удалить фото

AI-generated

Summary

Delete a photo from VKontakte by specifying the owner ID and photo ID, either manually or from preceding node input data.

Inputs

  • Источник данных (required) — Choose the source of IDs: from previous node input data or entered manually.
  • Поле с Owner ID — Field name in the input data that contains the owner ID when using input source (default: 'owner_id').
  • Поле с Photo ID — Field name in the input data that contains the photo ID when using input source (default: 'id').
  • ID владельца — Manual entry of the owner's ID (default 0).
  • ID фото (required) — Manual entry of the photo ID to delete.

Output shape

a single object indicating deletion status for each input item

Returns JSON object with owner_id, photo_id, status='deleted', and the full API response under 'response'. If 'Источник данных' is 'input', owner ID and photo ID are taken from specified input fields; otherwise, provided manually. Errors cause execution to fail or result in error objects if 'continue on fail' is enabled.

Examples

Example 1: Deleting a photo by manually specifying owner ID and photo ID

Set 'Источник данных' to 'Вручную', enter numeric values for 'ID владельца' and 'ID фото'. Output will confirm deletion status.

Example 2: Deleting photos from previous node's output

Set 'Источник данных' to 'Из входных данных' and specify input fields for owner ID and photo ID. The node deletes photos for each input item and outputs status per item.

Links

Discussion