Pause an Agent
If an agent is paused, the agent would not receive calls from the queue.
Endpoint
POST /api/v1.1.0/queue/pause_agent?token={token}
Request Parameters
Parameter Name | Importance | Type | Description |
queueid |
Required | Int | Queue number. |
extid |
Required | Int | Extension number of the agent. |
Examples
Request ExamplePOST /api/v1.1.0/queue/pause_agent?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1 Content-Type:application/json; charset=utf-8 Host: api.yeastarcloud.com { "queueid": "6700", "extid": "1000" }
HTTP/1.1 200 OK Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status": "Success" }