Deleting a host
After logon, you must first search for the host and then you can find and delete an existing host.
Search for the host using the filtering feature:
GET http://localhost:8082/7.0/elements/host?filter=mySrc1
http://localhost:8082/7.0/elements/host/1704
After the host is found, using the following request returns a 204 HTTP response status code:
DELETE http://localhost:8082/7.0/elements/host/1704
See
createHostThenDeleteIt.py
and
updateHostThenDeleteIt.py
JSON or XML samples.