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

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...