---
title: "Delete a queue by ID"
method: DELETE
path: "/queues/{id}"
tags: ["Queue"]
---

# Delete a queue by ID

`DELETE /queues/{id}`

Deletes the queue specified by the given ID.

## Path parameters

- `id` string, required

## Response `200`

Queue deleted successfully.

- QueueManagerQueue
  - `id` string, uuid — The unique identifier of the queue. Returned from the `POST /queues` or `GET /queues` response.
  - `customer_id` string, uuid — The unique identifier of the customer who owns this queue. Returned from the `GET /customers` response.
  - `name` string — Display name of the queue.
  - `detail` string — Detailed description of the queue.
  - `routing_method` '' | 'random'
  - `tag_ids` string[] — List of tag IDs assigned to this queue. Returned from the `POST /tags` or `GET /tags` response.
  - `direct_hash` string — The direct hash for direct access via SIP URI sip:<direct_hash>@sip.voipbin.net (the "direct." prefix is already included in the value, e.g. "direct.a1b2c3d4e5f6"). Returned from the resource's `direct_hash` field.
  - `wait_flow_id` string, uuid — The flow ID executed while callers wait in queue. Returned from the `POST /flows` or `GET /flows` response.
  - `wait_timeout` integer — Wait queue timeout in milliseconds.
  - `service_timeout` integer — Service queue timeout in milliseconds.
  - `wait_queuecall_ids` string[] — List of queuecall IDs currently waiting. Returned from the `GET /queuecalls` response.
  - `service_queuecall_ids` string[] — List of queuecall IDs currently being serviced. Each ID is returned from the `GET /queuecalls` response.
  - `total_incoming_count` integer — Total incoming call count.
  - `total_serviced_count` integer — Total serviced call count.
  - `total_abandoned_count` integer — Total abandoned call count.
  - `tm_create` string, date-time — The creation timestamp.
  - `tm_update` string, date-time — The last update timestamp.
  - `tm_delete` string, date-time — The deletion timestamp.

## Other responses

- `400` — Invalid request (INVALID_ARGUMENT).
- `401` — Authentication required (UNAUTHENTICATED).
- `403` — Insufficient permission (PERMISSION_DENIED).
- `404` — Resource not found (NOT_FOUND).
- `500` — Internal error (INTERNAL).

---

[API](https://skmtc.net/voipbin/apis/voipbin-api.md) · [All operations](https://skmtc.net/voipbin/apis/voipbin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voipbin/voipbin-api/versions/79e779080bcc/schema)
