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
enableSshRsa1 booleanstring
 Default 
falseEnable the RSA/SHA1 algorithm (disabled by default)
errorOnMissing booleanstring
 Default 
falseraise an error if the file is not found
password string
Password on the remote server
port string
 Default 
445Port of the remote server
username string
Username on the remote server
Outputs
deleted boolean
 Default 
falseIf the files was really deleted
uri string
 Format 
uriThe deleted uri
