Hi Experts
I am trying to disable an alert using below rest API example provided in the documentation. It returns back a XML response with all the attributes of the alert but do not disable the alert.
Example:-
curl -k -u admin:pass https://localhost:8089/servicesNS/admin/search/saved/searches/TestSearch/ \
disable -X POST
My curl command
curl -X POST -k -u admin:xxx https://server:9099/servicesNS/admin/search/saved/searches/test1234/disable
Reference :- http://docs.splunk.com/Documentation/Splunk/6.6.5/RESTUM/RESTusing
Any inputs, what is wrong here
↧