ordo

Delete a watcher using REST API

Discussion created by ordo on Apr 14, 2017
Latest reply on Apr 19, 2017 by Gene_Howard

Hi

 

I don't manage to delete an element on a probe, using the REST API.

I can create elements (like process or filesystem or log watcher), I can update them but I don't manage to delete them.

I have been following the documentation here : Probe Calls - CA Unified Infrastructure Management Probes - CA Technologies Documentation 

 

I can send a DELETE on an URL like : https://server:port/rest/probe/{DOMAIN}/{HUB}/{ROBOT}/logmon/config/setup/TEST

(where TEST is a log watcher)

 

I get a http code 204 (which is supposed to be good) but the watcher is still there.

Am I missing something ?

 

thanks

Outcomes