Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

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.

Controller (SaaS, On Premises)

REST API access 401 error


REST API access 401 error

I am trying to access appdynamics rest api using curl i get 401 unauthorized 


provided the right user which I created on AppD.




but doesn't work


Controller URL :


Api that i call 

curl --user user@customer1:pwd --verbose




By replying you agree to the Terms and Conditions of the AppDynamics Community.
REST API access 401 error
AppDynamics Team

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




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.