This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

API for automated Orion's agent removal

Hello All,

I would like to know if there's any API that we can use to automate the nodes removal in Orion? We have a "marketplace" tool where people can build/decomm their servers and whenever they initiated the decomm process we would like the "marketplace" to run the API/script to get the nodes removed from Orion automatically (to avoid false alarm being triggered from Orion once the server has been destroyed).

I'm trying to look at this APIs but wanted to know if the above process is doable. Thank you in advance for your comments:- 

https://github.com/solarwinds/OrionSDK/wiki/REST

BulkDelete Request

POST https://localhost:17778/SolarWinds/InformationService/v3/Json/BulkDelete HTTP/1.1
Authorization: Basic YWRtaW46
User-Agent: curl/7.20.0 (i386-pc-win32) libcurl/7.20.0 OpenSSL/0.9.8l zlib/1.2.3
Host: localhost:17778
Accept: */*
Content-Type: application/json
Content-Length: 232

{
"uris":[
"swis://dev-che-mjag-01./Orion/Orion.Nodes/NodeID=4/Volumes/VolumeID=548",
"swis://dev-che-mjag-01./Orion/Orion.Nodes/NodeID=4/Volumes/VolumeID=545",
"swis://dev-che-mjag-01./Orion/Orion.Nodes/NodeID=4/Volumes/VolumeID=546"]
}