Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

Can SolarWinds API accept basic auth via the URL?

$
0
0

My end goal is to ACK a SolarWinds Orion alert via an API call triggered from my incident management tool. However, the tool I am sending the POST from does not support custom headers. Will SolarWinds accept basic auth passed in the URL? If so, what is the SolarWinds endpoint URL and payload needed to ACK an alert in SolarWinds?

 

I have tried the below, but am receiving a 401. Currently my admin account does not have a password and that section in the URL is blank. Maybe this is the cause?

 

Thanks everyone

 

Method: POST

Content-Type: application/JSON

Target URL: http://<username>:<password>@<host>:<port>/api/ActiveAlertsGrid/AcknowledgeActiveAlerts

Payload:

{

{<Alert Number>}, "acked by...."

}


Viewing all articles
Browse latest Browse all 2677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>