---
title: "Remove call from a queue"
method: POST
path: "/calls/{call_control_id}/actions/leave_queue"
tags: ["Call Commands"]
---

# Remove call from a queue

`POST /calls/{call_control_id}/actions/leave_queue`

Removes the call from the queue it is currently waiting in. The call remains active and can be directed with further call commands.

## Path parameters

- `call_control_id` string, required

## Request body

- LeaveQueueRequest
  - `client_state` string — Use this field to add state to every subsequent webhook. It must be a valid Base-64 encoded string.
  - `command_id` string — Use this field to avoid duplicate commands. Telnyx will ignore any command with the same `command_id` for the same `call_control_id`.

## Response `200`

Successful response upon making a call control command.

- object
  - `data` CallControlCommandResult
    - `result` string

## Other responses

- `422` — Unprocessable entity. The request was well-formed but could not be processed due to semantic errors. This includes validation errors, invalid parameter values, call state errors, conference errors, queue errors, recording/transcription errors, and business logic violations.
- `default` — Unexpected error

## Changes

- **2026-08-17** `1571b0380bd7` — 3 breaking
  - the response's body type/format changed from `object`/`` to ``/`` for status `default`
  - the `errors/items/` response's property type/format changed from `object`/`` to ``/`` for status `default`
  - the `errors/items/code` response's property type/format changed from `integer`/`int32` to `string`/`integer` for status `default`
- **2026-08-04** `8f5f4e537994` — 4 breaking
  - the response's body type/format changed from ``/`` to `object`/`` for status `default`
  - the `errors/items/` response's property type/format changed from ``/`` to `object`/`` for status `default`
  - the `errors/items/code` response's property type/format changed from `string`/`integer` to `integer`/`int32` for status `default`
  - the `errors/items/source/pointer` response's property type/format changed from `string`/`json-pointer` to `string`/`` for status `default`

[Change history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/calls/:call_control_id/actions/leave_queue/post.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/3fdc16374d70/schema)
