The create_user()
function allows you to create a user on a local Hue
network, but it requires pressing the button on the Hue bridge then
executing this command within 30 seconds. delete_user()
is not implemented
because, apparently, it can only be executed through remote authentication.
create_user(devicetype)
a string naming your app and the device it's running on;
suggested format: <application_name>#<devicename>
(e.g. Hue#iPhone13
).
Returns a list with the newly created username
and clientkey
https://developers.meethue.com/develop/hue-api/7-configuration-api/#create-user