Actions9
- Connection Actions
- File Actions
- Directory Actions
File → Delete
AI-generatedSummary
Deletes the specified file from the configured SMB2 share. The node returns the normalized file path and success flags for each input item.
Inputs
- File Path (required) — Path to the file relative to the share root. Forward slashes are converted to backslashes, and leading backslashes are removed.
- Timeout (Ms) — SMB operation timeout in milliseconds; defaults to 30000. The node also falls back to the timeout in the Windows Network API credentials, then 30000.
- Windows Network API credentials (required) — Credentials configure the SMB2 client, including the share path, domain, username, password, and optional credential-level timeout.
Output shape
One output item per input item, with JSON containing filePath, deleted: true, and success: true after the delete succeeds.
The node deletes the file using the SMB unlink operation. Failures stop execution with an item-indexed operation error unless Continue On Fail is enabled, in which case that item contains {"error": "..."}.