Is it possible to delete ionic users using an Ionic api?


We have developed an app with the ionic framework for Android and ios. The app can push messages automatically through our backend to one or several users.

However, when a user updates the app they will get a new ionic user and id, therefore we would like to delete the old user automatically if it’s no longer possible to push to that id.

So can this be done through the ionic API or do we have to delete these users manually in the ionic users dashboard?

Use this at your OWN RISK

Open up the console and then for each page

var buttons = $(".danger");

angular.forEach(buttons, function(button) {;