Delete A Pool

For Airflow version 1.10.0 and older:

DELETE /airflow-webserver-<cluster-id>/api/experimental/pools/<string:name>

For Airflow 1.10.2 and later:

DELETE /airflow-rbacwebserver-<cluster-id>/api/experimental/pools/<string:name>

You can use this API to delete a pool.


To run the experimental APIs, you require to have Airflow version 1.10.0 and above.

Required Role

A user with read permission to the cluster can make this API call.


curl -X DELETE \  https://<ENV><Cluster-ID>/api/experimental/pools/testing_pool \

Sample Query

curl -X DELETE \ \
  -H "Accept: application/json"
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -d '{}'


You need to specify the QDS environment in the above syntax. It works with all the environments described in Supported Qubole Endpoints on Different Cloud Providers.

Sample Response

 "description": "This is a demo pool for qubole",
 "id": 1,
 "pool": "testing_pool",
 "slots": 2