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
Builder

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

Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...