Web API - Info about Company Account and Sub Account Rights

Hi!

I was testing some Nuki API and I found that in the swagger of GET /account the “type” parameter can have a value of “1 … company” but I don’t know how to create this kind of account.
So how can an account of type company be created?
What kind of operation I can perform with an account of type company that an account user can’t perform?

Furthermore I was trying the PUT /account/sub resource. I can see that there are a lot of rights I can set for a sub account but a thing that I’d like to do is to hide my other Nuki devices from the web interface of the sub account or at least hide the general device information like position and name.
Is there a way to do this?

Thanks in advance for the help, if more information are need please just ask :slight_smile:

Hi!

The type 1… company is for the Nuki Box Partner network (see Nuki Box Partner - Nuki) and can therefore only be created by Nuki itself

Regarding restricting access to certain devices/device-groups for sub-accounts: This is currently not possible. You would have to handle devices in separate accounts to achieve this.

Thank you very much for your reply Stephan, really appreciated :slight_smile:

1 Like