Delete group employees
Deleting groups of employees
Method |
delete.group_employees |
Description |
Deleting groups of employees |
Who has access |
Agent, Customer |
Parameters of a request
Title |
Type |
Required |
Description |
access_token |
string |
yes |
Authentication session key |
id |
number |
yes |
Group ID |
user_id |
number |
no |
Unique user ID of a customer or an agent who makes request. Is mandatory for an agent To get a list of customer users use the method "get.customer_users" |
JSON request structure
{
"jsonrpc":"2.0",
"id":"number",
"method":"delete.group_employees",
"params":{
"access_token":"string",
"id":"number",
"user_id":"number"
}
}
JSON reply structure
{
"jsonrpc":"2.0",
"id":"number",
"result":{
}
}
List of returning errors
Refer to "List of errors for methods with the verb delete"