Delete Object

s3.delete_object
ActionFiles & storageconnection required

Calls the S3 DELETE object API with a SigV4-signed request.

Delete an object from an S3 bucket.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Amazon S3
Secret shape
{"access_key_id", "secret_access_key"}
Config it needs
region, bucket
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
key
Object key. Supports {{ }}.
stringYes———

Output

One shape.

result

FieldTypeExample
ok
boolean—
key
string—
version_id
On a versioned bucket, the id of the delete marker this wrote — delete that id to undo. Null on an unversioned bucket.
string—
delete_marker
True when S3 wrote a delete marker instead of removing the object, false when S3 says it did not; null when S3 sent no such header, which is what an unversioned bucket does.
boolean—
{
  "delete_marker": false,
  "key": "",
  "ok": false,
  "version_id": ""
}

Solutions with Amazon S3

See Delete Object run in a workflow.

In a technical demo we add the Amazon S3 connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.