WebDAV icon

WebDAV

Работа с файлами через WebDAV

Файл → Удалить

AI-generated

Summary

Delete a file or folder from a WebDAV server

Inputs

  • path (required) — Путь к файлу или папке на WebDAV сервере
  • serverType — Тип WebDAV сервера для специфических настроек

Output shape

a JSON object indicating successful deletion, containing the file path and operation type

Returns an error if the target does not exist; error objects may include HTTP status code and message.

Examples

Example 1: Delete a single file on Yandex.Disk

Set operation=DELETE, resource=FILE, path=/documents/report.txt, serverType=yandexDisk

Example 2: Delete an empty folder

Set operation=DELETE, resource=FOLDER, path=/backup/old_folder, serverType=standard

Example 3: Bulk delete with overwrite disabled

Use operation=DELETE on FILE resource, enable overwrite=false to prevent accidental overwrite

Discussion