Skip to product menu
Skip to main content

Remove Departments for an Operator

Description

This API can be used to remove the departments for the specific operator. 

Query Parameters:

  • ids (Mandatory)- departments IDs (comma separated)

OAuth Scope:

SalesIQ.operators.DELETE

URL:

Copiedhttps://{zohosalesiq_server_uri}/api/v2/{screen name}/operators/{operator id}/departments

Example:

Copiedhttps://salesiq.zoho.com/api/v2/zylker-inc/operators/32308000000003031/departments?ids=123456789,12345678,23456756

Success Response

Copied{
  "url": "/api/v2/zylker-inc/operators/6000000006001",
  "object": "operator",
  "data": {
    "date_of_birth": "",
    "is_chat_enabled": "true",
    "first_name": "Patricia",
    "mobile": "",
    "nick_name": "Patty",
    "wms_id": "SG_5491193_6000000006001",
    "state": "Texas",
    "email_id": "patricia@zylker.com",
    "phone": "",
    "status_code": "1",
    "pin_code": "",
    "status_message": "Available",
    "street": "",
    "maximum_concurrent_chat": "10",
    "is_owner": "false",
    "id": "6000000006001",
    "is_confirmed": "true",
    "country": "us",
    "language": "en",
    "is_deleted": "false",
    "city": "Austin",
    "description": "Hi! I'm Patricia. You can ask your queries and they'll be answered in a jiffy!",
    "last_name": "Csez",
    "created_time": "1524313275944",
    "modifed_time": "1524489146311",
    "departments": [
      "6000000000017",
      "6000000006013"
    ],
    "image_url": "/api/v2/siqchatque/downloads/1295947b751413ea0f0eb274d38e5bcf?purpose=operator_image",
    "time_zone": "America/Los_Angeles",
    "role": "Administrator"
  }
}