Delete Bucket

Delete a specific S3 bucket.

Note

All objects, including all object versions and delete markers in the bucket, must be deleted before the bucket can be deleted.

Options

Field Definition Type Required
Region Region for your AWS S3 bucket. Choose a region for your Amazon S3 bucket. Dropdown TRUE

Input

Field Definition Type Required
Options
Bucket Bucket to be deleted. String TRUE
Expected Bucket Owner Account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error. String FALSE

Output

Field Definition Type
Response
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