delete
delete
Delete a file from an SMB (e.g., Samba) server.
yaml
type: "io.kestra.plugin.fs.smb.delete"Examples
yaml
id: fs_smb_delete
namespace: company.team
tasks:
- id: delete
type: io.kestra.plugin.fs.smb.Delete
host: localhost
port: "445"
username: foo
password: "{{ secret('SMB_PASSWORD') }}"
uri: "/my_share/dir1/file.txt"
Properties
host*Requiredstring
Hostname of the remote server
uri*Requiredstring
The file to delete
enableSshRsa1booleanstring
Default
falseEnable the RSA/SHA1 algorithm (disabled by default)
errorOnMissingbooleanstring
Default
falseraise an error if the file is not found
passwordstring
Password on the remote server
portstring
Default
445Port of the remote server
usernamestring
Username on the remote server
Outputs
deletedboolean
Default
falseIf the files was really deleted
uristring
Format
uriThe deleted uri