Skip to content

Deletes an employee group.

Method delete.group_employees
API version
Description Deletes an employee group.

Available to: Agents and clients

Request parameters

Name Type Required Description
access_token string yes Access token used to authenticate the request.
id number yes Unique ID of the employee group to delete.
user_id number no Unique ID of the client user on whose behalf the agent is making the request. Required for agents. To retrieve a list of client users, use "get.customer_users".

Example request

{
  "jsonrpc":"2.0",
  "id":"number",
  "method":"delete.group_employees",
  "params":{
    "access_token":"string",
    "id":"number",
    "user_id":"number"
  }
}

Example response

{
  "jsonrpc":"2.0",
  "id":"number",
  "result":{
  }
}

Possible errors

See the "Errors for delete methods" section.