bucket_delete_file - jaybgager/tracertools GitHub Wiki

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"
)