Hi together,
In the web api examples at Web API Example: Manage PIN-Codes for your Nuki Keypad it is written, that “if the PIN is created correctly you get an empty reply.” However, I do also get an empty reply with HTTP status code 204 if the Nuki bridge has no internet access, for example because of daily reconnections, and therefore the PIN has not been created.
My question is now, how I do know if the PIN has been created correctly? Is there a more convenient way then getting a list of all authorizations afterwards, run in a loop and check if its name appears?
Thanks a lot and best regards,
Ben