Method update.group_employees
Description Editing an employee group
Available to Agent, Client

Partial updating is possible. If the data array is updated, the transferred array will completely replace the existing one.

Request parameters

Name Type Required Valid values Description
access_token string yes Authentication session key
id number yes Unique group identifier
user_id number no Unique user identifier of the agent client on behalf of which the request is made
Is required for the agent
To obtain a list of client users, you must use the method "get.customer_users"
name string yes Group name
List of employees in the group
members array no List of unique identifiers of employees who are members of group
Group extension number settings
group_phone_number string no Maximum length 5 Internal group number
Depends on the component "va"
queue_enabled boolean no The default value is "false". If all numbers indicated for this group of employees are busy, then the caller will stand in queue to redial the phones in the list and will wait the first available number.
Depends on the component "va"
channels_count number yes From 1 to 199 Number of simultaneous lines when calling
Depends on the component "va"

JSON request structure```json

{ "jsonrpc":"2.0", "id":"number", "method":"update.group_employees", "params":{ "access_token":"string", "id":"number", "user_id":"number", "name":"string", "members":[ "employee_id" ], "group_phone_number":"string", "queue_enabled":"boolean", "channels_count":"number" } }

### JSON response structure```json
{
  "jsonrpc":"2.0",
  "id":"number",
  "result":{

  }
}

List of returned errors

See the section "List of errors for methods with the update verb"