Skip to main content

Get tenant by Custom ID via API

Thread solved
Beginner
Posts: 1
Comments: 1

Hi,

I need to get tenant info by Custom ID or .

I used ( GET {base_url}/api/2/tenants/{customer_id} ) but not working.

Is there any way to get tenant info by "customer_id" without need to request by the "tenant_id" or "parent_id".

 
0 Users found this helpful
Forum Member
Posts: 3
Comments: 59

#1

Hi,

Yes, using search endpoint https://developer.acronis.com/doc/account-management/v2/guide/searching/index, but you must specify a tenant_id from which hierarchy you want to search. It might be a tenant for which your API client was issued.

The following property values are checked in tenants:

  • Tenant name – name

  • Customer ID – customer_id

  • First name – firstname in the contact object

  • Last name – lastname in the contact object

  • Email address (not displayed in search results) – email in the contact object

Beginner
Posts: 1
Comments: 1

#2

@Stanislav Pavlov Thank you, That’s What I’m Looking For