Actions9
- Connection Actions
- File Actions
- Directory Actions
Directory → Delete
AI-generatedSummary
Delete the specified directory from the configured SMB2 share. The operation uses the directory’s share-relative path and returns a success record after the SMB rmdir call completes.
Inputs
- Directory Path (required) — Path to the directory relative to the share root. The implementation converts forward slashes to backslashes and removes leading backslashes.
- Timeout (Ms) — Timeout for the SMB operation in milliseconds; defaults to 30000 ms. The node also requires the Windows Network API credentials for the share connection.
Output shape
One output item per input item, each with a JSON record containing directoryPath, deleted: true, and success: true on success.
The returned path is normalized. If deletion fails, the node raises an operation error; with Continue On Fail enabled, it returns an item containing an
errormessage instead. The source calls SMBrmdir; it does not establish whether non-empty directories can be deleted.