CmdID

CmdID / aws / aws s3api

aws s3api delete-object

Removes an object from a bucket. AWS CLI reference

10 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

10 in the AWS CLI reference
--bucketThe bucket name of the bucket containing the object.
--bypass-governance-retentionIndicates whether S3 Object Lock should bypass Governance-mode restrictions to process this operation.
--expected-bucket-ownerThe account ID of the expected bucket owner.
--if-match-last-modified-timeIf present, the object is deleted only if its modification times matches the provided Timestamp.
--if-match-sizeIf present, the object is deleted only if its size matches the provided size in bytes.
--if-matchDeletes the object if the ETag (entity tag) value provided during the delete operation matches the ETag of the object in S3.
--keyKey name of the object to delete.
--mfaThe concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
--request-payerConfirms that the requester knows that they will be charged for the request.
--version-idVersion ID used to reference a specific version of the object.