How to delete User using Parse (Error: insufficient auth to delete user)

1

Hello, I'm creating an app using Parse to save data to Heroku. I'm having a hard time deleting Users. I can delete objects from other collections with the command:

objeto.deleteInBackground(new DeleteCallback() {
    @Override
    public void done(ParseException e) {
           Toast.makeText(getContext(),"Exercicio removido.",Toast.LENGTH_SHORT).show();
           }
  });

But when it comes to deleting Users, it does not work. Leaves the ParseException and with the value of insufficient auth to delete user. Could someone help me solve this problem?

    
asked by anonymous 24.04.2018 / 22:58

0 answers