Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-4017

API host.delete method is broken in trunk

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.6 (beta)
    • 1.9.6 (beta)
    • API (A)
    • None

      Created host with id 10047. Then used zbx-jsonrpc-api to delete host:

      Request:
      {"jsonrpc":"2.0","method":"host.delete","params":

      {"hostid":10047}

      ,"id":0,"auth":"07fcc311577bba47b624a997a1042ca5"}

      Response:
      {"jsonrpc":"2.0","result":

      {"hostids":[10047]}

      ,"id":0}

      But the host won't be deleted, still exists.

            Unassigned Unassigned
            dimir dimir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: