Summary
There is currently a bug with deactivating multiple devices for the same user too quickly. The server side can get a database deadlock and fail. The workaround would be to add an optional and configurable delay to the bulk commands.
Proposed API