Delete Agent from a Call Queue

POST/?object=agent&action=delete

Request URL

POST
https://uc.hopdial.com/ns-api/?object=agent&action=delete

Send your access token in the Authorization: Bearer header. Body parameters are sent as application/x-www-form-urlencoded. New to the API? Start with authentication and rate limits.

Parameters

NameTypeDescription
queue_name
requiredbody
string

Extension of call queue to read agents

domain
requiredbody
string

Domain of the call queue

device
requiredbody
string

Device of Agent. Must be in the format of sip:<device>@<domain>

Example request

text
curl https://uc.hopdial.com/ns-api/ \
   -H 'Authorization: Bearer 7bet078rqljh451l31uh34lsd0f80dsf' \
   -d object='agent' \
   -d action='delete' \
   -d queue_name='101' \
   -d domain='abc-comapny.11111.service' \
   -d device='sip:[email protected]'

Responses

200 · application/json

400 · application/json
{}

More Agent endpoints

Manage call queue agents and their availability.

Need a Client ID and Client Secret or help with this endpoint? Contact HopDial support or call (866) 305-0407.