post deprecatedhttps://api.servetel.in/v1/agent//unblock
Unblock an agent
Unblock Agent
blocked agents can be unblocked using the below method.
curl --request POST \
--url https://api.servetel.in/v1/agent/id/unblock \
--header 'accept: application/json' \
--header 'authorization: Bearer yourtokenhere'
Path parameters
| Variable Name | Description | Data Type |
|---|---|---|
| id* | Unique eid (extension ID) of the agent | String |
Sample request
curl --request POST \
--url https://api.servetel.in/v1/agent/050000000/unblock \
--header 'accept: application/json' \
--header 'authorization: Bearer yourtokenhere'
Response variables
| Variable Name | Description | Data Type |
|---|---|---|
| success | Request success status | Boolean |
| message | Message corresponding success status | String |
