Microsoft Azure

Deletes blob(s) on Azure Blob Storage.

View Source

Last Updated: May. 7, 2021

Access Instructions

Install the Microsoft Azure provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.


container_namestrName of the container. (templated)
blob_namestrName of the blob. (templated)
wasb_conn_idstrReference to the wasb connection.
check_optionsOptional keyword arguments that WasbHook.check_for_blob() takes.
is_prefixboolIf blob_name is a prefix, delete all files matching prefix.
ignore_if_missingboolif True, then return success even if the blob does not exist.


Deletes blob(s) on Azure Blob Storage.

Example DAGs

Was this page helpful?