Synology File Station icon

Synology File Station

Synology DSM File Station operations

Delete

AI-generated

Summary

Deletes a file or folder from the Synology NAS.

Inputs

  • filePath (required) — Path of the file or folder to delete on the Synology NAS. Required.
  • recursive — Whether to delete folders recursively. Set to true to delete a folder and its contents. Default false. Optional.

Output shape

{ success: boolean, ... }

Returns the DSM API response object for each input item.

Links

Discussion