Patch Tenants over Kibana Plugin

Hi guys,

I’m developing a Kibana Plugin that uses Open Distro Security plugin (ES + Kibana). My plugin needs to create multiple Tenants at once. I know that Open Distro have an API, but this API its for elasticsearch plugin.

My question is: It’s possible to create multiple Tenants using Open Distro Security (Kibana Plugin) endpoins? Like:

... code ..`${API_ROOT}/configuration/tenants/tenantname`, {description:'some description'})
... code ...