Skip to content

bucket_delete_file

jaybgager edited this page Sep 25, 2026 · 3 revisions

This function deletes a file on a cloudfiles-managed S3-style bucket. Requires permission to write to the bucket.

Arguments:

  • file_path (string, mandatory)
    • the absolute file path to the file on the bucket you want to delete

Example

INPUT:

import tracertools as tt

tt.bucket_delete_file(
    file_path = "bucket://path/to/the/file/you/want/to/delete"
)

Clone this wiki locally