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!

Ditch the Manual Grind: Building AI Agents with Splunk

Ditch the Manual Grind: Building AI Agents with Splunk Let’s be real: your team’s time is being eaten alive. ...

Cisco Data Fabric from Architecture to Investigation, Better SOC Visibility, and More ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

The Trust Gap: Why a Data Foundation is Fundamental to an Agentic Enterprise

The Trust Gap: Why a data foundation is fundamental to an  Agentic Enterprise.   Agentic AI is transforming ...