Delete Item

Delete an item (file or folder) in AWS S3.

Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

delete an item

What does it do? This is the base syntax for the procedure.

Where does it go? This phrase should be written on a new line.

Is it required? ✅ Yes — This phrase is required in the syntax.

Does it require input data? ⛔ No — This phrase does not require input data.

the item is

What does it do? Specifies the item (file or folder) to delete.

Where does it go? This phrase should be indented beneath delete an item with. The with keyword is added to specify additional instructions.

Is it required? ✅ Yes — This phrase is required in the syntax.

Does it require input data? ✅ Yes — An s3 file reference or s3 folder reference needs to be specified.

Example: the item is the above

Examples

1. Delete an item (file/folder) from AWS S3

create a json
use the above as the file
set the file's bucket_name to "bucket_name"
set the file's file_path to "test.txt"
delete an item with
    the item is the file

Last updated

Was this helpful?