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}
Authorizations:
Scopes:
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 | ||||||||||
|
Responses
200
OK
400
Bad request
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
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
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
Success request response
Copy
Collapse all {- "statusCode": "SUCCESS",
- "message": "Agent removed from queue successfully."
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See