03-02-2022 05:33 PM
I am working with an MSP and I want to use the Admin API to get logs for specific child accounts from as well as for the parent account. I can list the child accounts using the Accounts API and select the account IDs I want to use in the requests to the Admin API, but is it possible to get the parent account ID in order to make the same request to the Admin API?
As I understand it, omitting the account ID to the Admin API requests will make it include all accounts, but I want to make requests for specific child accounts and requests for just the parent account.
03-03-2022 12:34 PM
You would use Admin API directly against the parent to pull logs from the parent. You don’t need the parent ID for that because you would be using an Admin API integration in the parent.
03-03-2022 12:48 PM
Thank you for the input. Does that mean that querying the Admin API without providing an account ID will only include results from the parent account? If so, that will work for my use case.
03-03-2022 02:42 PM
Yes, that’s correct!
So like…
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide