Remove Agent form Queue
Resource
https://api.infobip.com/ccaas/1/queues/{queueId}/agents/{agentId}
Path Params
Use this method to remove an agent from the queue.
| Property name | Type | Description |
|---|---|---|
| *queueId | string | Required - Queue Id to remove an agent from |
| *agentId | string | Required - Agent Id be removed from queue |
Request Example
DELETE /ccaas/1/queues/1E54701F74BD86A070B43DB49478D82C/agents/5BD4A3D2FEAD65DC90ACAF5607FD75F6 HTTP/1.1
Host: api.infobip.com
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Response
{
"statusCode": "SUCCESS",
"message": "Agent removed from queue successfully."
}
{
"statusCode": "ERROR",
"message": "Invalid id '1E54701F74BD86A070B43DB49478D82C' given! No such entity exists."
}
Remove agent from queue
This operation does not delete an agent nor queue. The only link will be removed.