Splunk AppDynamics

API Request

Juraj_Papic
Explorer

Hi all,

Im trying to access the API from PostMan, but  getting the error 401. My question is the user / pass this should be the user I use to connect to the URL or I have to user the API cliente?

thanks. 

Labels (3)
Tags (3)
0 Karma

Vaibhav_Vir_Sin
Communicator

Hi @Juraj.Papic ,

There are several ways you can connect but i believe you are connecting using your local userID and pwd.

In that case, please make sure you use userID as "user@customer1" instead of just user.

Here customer1 is default tenant that gets created while cluster setup but if this doesn't work then check with your administrator the account name (tenant) if they changed from customer1 to something else.

Hope this helps.

Regards,
VVS

Morelz
Motivator

Hi Juraj

Preferably you should be using the API client with Oauth2, however some of the API's also allow basic auth with username password.

You did not provide the API you are trying to connect to as well as your authentication method., so unsure of what the problem might be.

Ciao

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...