Delete Queue

You must set the capacity of the queue to zero before you delete a queue.

For information about changing queue capacity using the API, see Change Queue Capacities.

The delete queue requests cannot have a body, but the version message can be passed as a query string parameter as shown in the Request URL.

Request URL

Parameter Description
cm_host Cloudera Manager host address
Cluster-id Name of the cluster
path-of-the-queue Path to the queue

Example Request

curl -v -X DELETE -b cookie.txt --key cm-auto-host_key_decrypted.pem --cert cm-auto-host_cert_chain.pem --cacert cm-auto-global_cacerts.pem -H "Referer: https://<cm_host>:7183/cmf/clusters/Cluster%201/queue-manager/"