Check if tenant exist in collection

Hi team, is there any method available to check if tenant with given name is present in the collection or not ?

Hi @Dharanish !

You can only list all tenants, and then check if your tenant is present on that list.

I believe this would be a nice feature request.

Do you mind opening it here?


1 Like

Hi @Dharanish !

Guess what? We do have this endpoint :star_struck:

check it here

It is new, and not yet exposed on the client, but can be checked with:

curl --request HEAD \
  --url http://localhost:8080/v1/schema/__CLASSNAME__/tenants/__TENANTNAME__
1 Like