Log out a Queue
Through this interface, you can log out a dynamic agent from a queue.
Endpoint
POST /api/v1.1.0/queue/del_dynamicagent?token={token}
Request Parameters
Name | Importance | Type | Description |
---|---|---|---|
queueid |
Required | Int | The queue number. |
extid |
Required | Int | The dynamic agent's number. |
password |
Required | Int | The password of the queue. |
Examples
Request ExampleRequest to log out the dynamic agent 1000 from the queue
6700.
Response
ExamplePOST /api/v1.1.0/queue/del_dynamicagent?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1 Content-Type:application/json; charset=utf-8 Host: api.yeastarcloud.com { "queueid": "6700", "extid": "1000", "password": "6700123" }
HTTP/1.1 200 OK Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status": "Success" }