Hello,
I currently use the following to unmanage a node from the API.
curl -k -u user: -X POST -H "Content-Type: application/json" -d @unmanage.txt "x:17778/.../Unmanage"
unmanage.txt -
["N:19","04-26-2017 12:00:00 PM","04-27-2017 02:00:00 PM","false"]
I tried using this since transactions have an ID assigned -
["T:2","04-26-2017 12:00:00 PM","04-27-2017 02:00:00 PM","false"]
which returned a clear error -
{"Message":"Only nodes can be unmanaged through this interface. T:2 does not refer to a node.","ExceptionType":"System.NotSupportedException","FullException":"System.NotSupportedException: Only nodes can be unmanaged through this interface. T:2 does not refer to a node.\u000d\u000a at SolarWinds.InformationService.Verb.VerbExecutor.Invoke(Object hostInstance, Object[] parameters)\u000d\u000a at SolarWinds.InformationService.Verb.VerbExecutorContext.Invoke()\u000d\u000a at SolarWinds.InformationService.Core.InformationService.Invoke[T](String entity, String verb, Action`1 setupParameters, Func`2 extractReturnValue)"}19
I then tried referencing the table / modifying the call slightly
curl -k -u user: -X POST -H "Content-Type: application/json" -d @unmanage.txt "x:17778/.../Unmanage"
["T:2","04-26-2017 12:00:00 PM","04-27-2017 02:00:00 PM","false"]
which simply returned 'null'.
Could anyone point me in the right direction on how I can unmanage a transaction through the API?