What API call lists account names with the internal ID?
search cancel

What API call lists account names with the internal ID?

book

Article ID: 282730

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

The assets API can be used to list accounts including the "id" field used in other API calls.

Resolution

Here is an example call which lists all accounts with a selection of fields:

https://chapi.cloudhealthtech.com/api/search?api_version=2&name=AwsAccount&fields=name,amazon_name,owner_id