cURL
curl --request GET \ --url https://{domo_instance}.domo.com/api/data/v1/accounts \ --header 'X-DOMO-Developer-Token: <api-key>'
[ { "accountId": "{account_id}", "displayName": "Account 1" }, { "accountId": "{account_id}", "displayName": "Account 2" } ]
Retrieve a list of all accounts.
Developer token for authentication.
A list of accounts.
The unique identifier for the account.
The display name of the account.