NextCloud Folder icon

NextCloud Folder

Manage files, folders and shares on Nextcloud (WebDAV)

Actions12

File → Delete

AI-generated

Summary

Delete a file or folder on your NextCloud server by specifying its path.

Inputs

  • Path (required) — Path of the file or folder to delete

Output shape

a list of JSON objects indicating success and the deleted path for each item processed

The operation expects one or more input items. For each item, it deletes the specified file or folder at the given path on the NextCloud server and outputs a JSON object with success status true and the path. If deletion fails, the node throws an error unless configured to continue on failure.

Examples

Example 1: Delete a file at /Documents/old-file.txt

Set resource to File, operation to Delete, and Path to /Documents/old-file.txt.

Links

Discussion