DeleteList
Delete a list of keys on a bucket.
type: "io.kestra.plugin.minio.DeleteList"
id: minio_delete_objects
namespace: company.team
tasks:
- id: delete_objects
type: io.kestra.plugin.minio.DeleteList
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
region: "eu-central-1"
bucket: "my-bucket"
prefix: "sub-dir"
Delete files from an S3-compatible storage — here, Spaces Object Storage from Digital Ocean.
id: s3_compatible_delete_objects
namespace: company.team
tasks:
- id: delete_objects
type: io.kestra.plugin.minio.DeleteList
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
endpoint: https://<region>.digitaloceanspaces.com
bucket: "kestra-test-bucket"
prefix: "sub-dir"
YES
Access Key Id for authentication.
YES
The bucket name.
NO
>= 2
Number of concurrent parallels deletion
YES
A delimiter is a character you use to group keys.
YES
URL to the MinIO endpoint.
YES
false
YES
BOTH
FILES
DIRECTORY
BOTH
The type of objects to filter: files, directory, or both.
YES
Marker is where you want to start listing from.
Start listing after this specified key. Marker can be any key in the bucket.
YES
1000
YES
Limits the response to keys that begin with the specified prefix.
YES
A regexp to filter on full key.
ex:
regExp: .*
to match all files
regExp: .*2020-01-0.\\.csv
to match files between 01 and 09 of january ending with .csv
YES
MinIO region with which the SDK should communicate.
YES
Secret Key Id for authentication.
0
The count of blobs deleted
0
The size of all blobs deleted