capabilities.work

Delete Object and Confirm Removal

A 2-step recipe with Amazon S3. We can help you get access.

Recipe · 2 steps

Delete Object and Confirm Removal

Delete an object then verify it returns 404 on HEAD.

  1. Delete the object from the bucket. S3 responds with 204 No Content on success.
  2. HEAD the deleted key. A 404 confirms the object is no longer present.
What you'll need to have ready
  • bucket: The bucket holding the object.
  • objectKey: The key of the object to delete.
For your developer

Arazzo workflow amazon-s3:delete-object-and-confirm, 2 operations: DeleteObject → HeadObject. Specs on APIs.io.