API - Specify tenant to create folders in


#1

I’m writing a python script to handle bulk uploads while also preserving the directory structure, but API calls seem to only work with the the “DEMO” tenant. Is there a way to specify the host_id when using the api? The docs don’t seem to suggest so, unless I’m supposed to be doing something similar to how the upload API call works.


#2

I figured out eventually that you just have to create an user in that tenant and just use the API key associated with said user.


#3

Hi,
Yes one API key is bound to one tenant only. Search is limited to the tenant the API key is bound to.

Regards.