Out-of-sync SmartLock and Web API after multile DELETE Auth requests

Issue

Web API shows different authorized pin codes than the app.
Web API shows duplicated pin codes.
Web API does not allow deleting certain pin codes (duplicated pin codes which do not exist in the Nuki App).

Goal

Have Web API and SmartLock in sync, so that I do not have to manually handle my customer’s bookings and authorizations.

Similarities

I already experienced quite a lot of out-of-sync issues. See especially this issue Keypad Code Authorization ID changing

Reroduction

Just a thought: maybe this can be reproduced by automatically creating >50 temporary (time based) pin codes and automatically deleting those afterwards.