DELETE /wlm/queue

[info] Enterprise Edition only

Deletes a specific queue by ID.

Syntax

DELETE /api/v3/wlm/queue/{id}

Response Output

The response is empty.

Response Codes

400 - Queue still has rules associated with it; queue is not empty.
403 - User does not have permission to access this queue.
404 - Queue doesn’t exist.

Request Example

CURL

curl --request DELETE \
  --url http://localhost:9047/api/v3/wlm/queue/19f8fde2-66e8-403e-b0e1-c01c5d14b9b1 \
  --header 'authorization: _dremioha5lrg03obu07o4fkaev5e4r8n' \
  --header 'content-type: application/json'

Python

import requests

url = "http://localhost:9047/api/v3/wlm/queue/19f8fde2-66e8-403e-b0e1-c01c5d14b9b1"

payload = ""
headers = {
    'authorization': "_dremioha5lrg03obu07o4fkaev5e4r8n",
    'content-type': "application/json"
    }

response = requests.request("DELETE", url, data=payload, headers=headers)

print(response.text)

Response

The response is empty.


results matching ""

    No results matching ""