Skip to main content

Inquiry of TENANTS usage on Acronis API: where to find ID list?

Thread needs solution

Hello everyone!

I started using the Acronis API and I have some doubts.

I need to collect customer data, to find out the customers I perform a GET on the following endpoint: requests.get(f'{base_url}/tenants/{tenant_id}/children')

It returned the tenant information such as: brand_id brand_uuid id

However, now I want to retrieve customer usage on the following endpoint: /tenants/<id>/usages

I'm not succeeding, I used the 'id' from the request and it says the following:

{'error': {'code': 1005, 'context': {'id': '<id>'}, 'details': {'addition': [{'id': '<id>'}], 'info': 'The tenant with ID/UUID ' '"<id>" is not ' 'found.'}, 'domain': 'PlatformAccountServer', 'message': 'The tenant with ID <id> ' 'is not found.'}}

My question is, where can I find this list of IDs so that I can perform the query?

Thank you for your help.

0 Users found this helpful
frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 2
Comments: 1727

Hello Mad.

The User UUID is provided in the UI's URL. When you select a user in the Account Management Console you will get this URL for Dev-Comp Admin for example:
https://us-cloud.acronis.com/mc/app;group_id=17498e31-d452-4605-8a3c-d2…

Please check also the user-guides for the API: https://developer.acronis.com/doc/account-management/v2/guide/index

Thanks!