cancel
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)

Accounts API

dkandpal
New Member

Accounts API

Hi,

 

I'm trying to use the AppDynamics API (the one's visible on Swagger UI). The problem is, I know my Account Name, Username and Password, but I have no idea about the corresponding accountId. Is there a way I can possibly find out about this by passing my account information ?

 

 

 

Regards,

Devesh

Tags (2)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Accounts API
1 REPLY 1
Ravi.Biradar
AppDynamics Team

There is no API to get the list of account with IDs, you can  get account details only if you know the account ID. You can query the controller database to get the account IDs like below:

 

Get all the account with IDs:

select id as AccountID, name as AccountName from account;

 

Get specific account ID:

select id as AccountID, name as AccountName from account where name='<Account Name>';