Delete Agent Group

GET
https://api.itniotech.com/v3/cc/seatGroup/deleteGroup
Delete the agent group. Agents bound to the agent group cannot be deleted.
 
Request Parameters
Parameters Description Required Required
voiceGroupId Primary key id (voice group) Yes Integer
 
Request Sample
Request URL:
    https://api.itniotech.com/v3/cc/seatGroup/deleteGroup?voiceGroupId=1123
Request Method:
    GET
Request Headers:
    Content-Type: application/json;charset=UTF-8
    Sign: 05d7a50893e22a5c4bb3216ae3396c7c
    Timestamp: 1630468800
    Api-Key: bDqJFiq9
 
Response Parameters
Parameters Description Required
status status code,0 is successful. For other failures, please refer to the interface response code String
reason Failure reason description String
data This method returns empty String
 
Response Sample
{
	"status": "0",
	"reason": "success",
	"data": null
}
 
Response Status Code
status Description
0 Success
-1 Authentication error
-2 Authentication error
-16 Timestamp expires
-18 Port program unusual
-22 Parameter exception
-24 Data unexisting
-63 There are agents under this agent group. Please remove the agents before performing this operation.
-64 There are agents under this agent group. Please remove the agents before performing this operation.
-69 Your agent group is bound to a team leader. Please unbind and delete it.
-70 Your agent group is bound to a sip trunk. Please unbind and delete it.