Tenants count and list

18 views
Skip to first unread message

Salvinder Parhar

unread,
Jan 7, 2026, 12:12:18 PM (7 days ago) Jan 7
to cgr...@googlegroups.com
Hello,

Is there an apiers method to get the count and list of existing tenants in the system? I looked into the apiers go doc but don't see anything for that, so just wanted to confirm.

Thanks,
Salvinder

Armir Veliaj

unread,
Jan 8, 2026, 10:16:16 AM (6 days ago) Jan 8
to CGRateS
Hi Salvinder,
 
There is not an API for that as tenant doesn't exist as an entity in CGRateS, it's simply an extra filter on each of the subsystems.
You will need to keep a list of tenants outside of CGRateS, or in case you do not have it and want to find them, you can query the keys inside Redis.

Thanks,
Armir
Reply all
Reply to author
Forward
0 new messages