Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
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 |
---|---|
4 | |
3 | |
3 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form