Mega S4 icon

Mega S4

Interact with Mega.nz S4 object storage (S3-compatible)

Object → Delete

AI-generated

Summary

Delete an object from a specified bucket in Mega S4 object storage using its bucket name and object key.

Inputs

  • Bucket Name (required) — Name of the bucket containing the object to delete.
  • Object Key (required) — Key (path and filename) of the object to delete within the bucket.

Output shape

no body — success/failure only

The operation does not return the deleted object data. Success or failure is indicated by the execution status or error output.

Examples

Example 1: Remove a file named 'folder/file.txt' from the 'my-bucket-name' bucket.

Provide the bucket name as 'my-bucket-name' and the object key as 'folder/file.txt' to delete this specific file from Mega S4 storage.

Discussion