Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
02-02-2018 08:41 AM - last edited on 02-10-2020 03:39 PM by Ryan.Paredez
I am trying to access appdynamics rest api using curl i get 401 unauthorized
provided the right user which I created on AppD.
user1@customer1:secret
but doesn't work
Controller URL : https://biker201802020649579.saas.appdynamics.com/controller/#/
Api that i call
curl --user user@customer1:pwd https://biker201802020649579.saas.appdynamics.com/controller/rest/applications?output=JSON --verbose
02-04-2018 07:39 PM - last edited on 01-04-2021 01:33 PM by Ryan.Paredez
Hi Saif,
As per the controller url, it looks you are on saas environment. So, customer1 is a default account name for on-prem controller. In your case, the account name should be 'biker201802020649579'. Please try with the below url and let us know if it helps.
curl --user user@biker201802020649579:pwd https://biker201802020649579.saas.appdynamics.com/controller/rest/applications?output=JSON
Thanks,
Yogesh
User | Count |
---|---|
6 | |
4 | |
3 | |
2 | |
2 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form