Synology Drive icon

Synology Drive

Synology Drive Node

File → Delete File Or Folder

AI-generated

Summary

Delete a file or folder from Synology Drive at the specified path, optionally deleting it permanently without moving to Trash.

Inputs

  • Path (required) — The full path of the file or folder to delete on Synology Drive (e.g., /mydrive/...).
  • Delete Permanently — Whether to delete the file or folder permanently (true) or move it to Trash (false). Defaults to false.

Output shape

a single JSON response confirming the deletion operation's success or failure

The operation sends a single POST request to Synology Drive API with the path as an array containing one path string, and a permanent flag. No data is returned on success other than standard API response; errors will throw exceptions.

Links

Discussion