Can't delete some pin codes using the API

We are syncing lots of pin codes with different Nuki accounts for short periods of time (usually a few hours). We don’t have any trouble adding pin codes and our system can usually delete them too. However, there are a couple of pin codes that should have been deleted, that can simply not be deleted via the API.

The pin codes are visible when calling:

GET https://api.nuki.io/smartlock/auth?types=13

But cannot be deleted using the standard delete request:

DELETE https://api.nuki.io/smartlock/{{ Lock ID }}/auth/{{ Pin code ID }}

We receive a 204 response but the pin codes never get deleted. Since it’s only happening to a few codes out of 100s I don’t think it has anything to do with the way we are calling the API.

Is there anything we can do to make sure these pin codes get deleted according to our schedule?

1 Like

Hi Paul,

We need more data to look into this issue further, hence I will leave you a message.

I’m assuming you are taking care of the devices being online.
We had some issues where some auths were not deleted bcoz the device was not online, and then it remained in a “deleting” state and could not be deleted at all. But we made a bug fix for it some months ago.