---
title: "Remove agent from queue"
method: DELETE
path: "/ccaas/1/agents/{agentId}/queues/{queueId}"
tags: ["customer-engagement", "conversations", "conversation-agents"]
---

# Remove agent from queue

`DELETE /ccaas/1/agents/{agentId}/queues/{queueId}`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/ccaas/1/agents/{agentId}/queues/{queueId}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Use this method to remove an agent from a queue.
Operation only deletes the link between a queue and the agent.

## Path parameters

- `agentId` string, required
- `queueId` string, required

## Response `200`

OK

- 59fee77911b10cc32daa4aa3591d8ca0b6f5fe540a80b499aee90c38ff11a187StatusCodeResponse
  - `statusCode` 'SUCCESS' | 'ERROR'
  - `message` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
