Remove agent from queue

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

Please log in to see full path URL. Learn why.
delete
/ccaas/1/agents/{agentId}/queues/{queueId}
path Parameters
agentId
required
string

Id of the Agent which should be unlinked from queue.

queueId
required
string

Id of the Queue which should be unlinked from agent.

query Parameters
context
required
object
accountId
integer <int64>
invokerType
string
Enum: "AGENT" "SYSTEM"
invokerId
string
invokerName
string
userId
integer <int64>

Responses

200

OK

400

Bad request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

Request samples

Example
cURL
Copy
curl -L -g -X DELETE 'https://{baseUrl}/ccaas/1/agents/{agentId}/queues/{queueId}?context=%7Bcontext%7D' \
-H 'Authorization: {authorization}' \
-H 'Accept: application/json'

Response samples

Content type
application/json

Success request response

Copy
Collapse all
{
  • "statusCode": "SUCCESS",
  • "message": "Agent removed from queue successfully."
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.