Delete Object

Delete an object in a specified AWS S3 bucket.

Options

Field Definition Type Required

Region

Region for your AWS S3 bucket. Choose a region for your AWS S3 bucket.

Dropdown

TRUE

Input

Field Definition Type Required

Options

Bucket

Bucket name of the bucket containing the object.

Text

TRUE

Key

Key name of the object to delete.

Text

TRUE

Version ID

Version ID used to reference a specific version of the object to delete. If the version ID is null enter the string value, null.

To remove a specific version, you must be the bucket owner and you must specify the version ID. Using this sub-resource permanently deletes the version.

Text

FALSE

Request Payer

Confirms that the requester knows that they will be charged for the request.

Dropdown

FALSE

Bypass Governance Retention

Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process this operation. Choose Yes or No.

Dropdown

FALSE

Expected Bucket Owner

Account ID of the expected bucket owner.

If a different account owns the source bucket, the request fails with an HTTP 403 (Access Denied) error.

Text

FALSE

MFA

Concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.

Required to permanently delete a versioned object if versioning is configured with MFA delete enabled.

If the object you want to delete is in a bucket where the bucket versioning configuration is MFA delete enabled, you must include the associated value for the MFA input field.

Text

FALSE

Output

Field Definition Type

Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

AWS S3 connector

Workflow elements

AWS S3 Rest API overview