API host.delete method is broken in trunk

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • 1.9.6 (beta)
    • Affects Version/s: 1.9.6 (beta)
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: