AWS S3

Delete object

Remove the null version (if there is one) of an object and insert a delete marker. If there isn’t a null version, Amazon S3 does not remove any objects but still responds that the command was successful.

Inputs

Field

Type

Description

region [required]

enum

default: us-east-1

bucket [required]

string

Bucket name of the object to delete.

key [required]

string

Key name of the object to delete.

versionId

string

expectedBucketOwner

string

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with an HTTP 403 (Access Denied) error.

Outputs

Field

Type

Description

deleteMarker

boolean

Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker.

versionId

string

Returns the version ID of the delete marker created as a result of the DELETE operation.