How to delete object from a database using API (Android)?
how to do it without coding a new class?
Use REST API
how I can do it without REST, using only Backendless API?
OK, I created new class as shown in the documentation, everything works.
I’m sorry to bother you.
what should i do if i want to delete row from backendlessuser table
its showing me this error:
unable to find method in class. method name remove…
I just responded to your other post with the same question.
This is a bug, we shall fix it soon.
There is a workaround you can use for now - BackendlessUser objects can be removed if you retrieve them using Data service. For example:
BackendlessUser targetUser = Backendless.UserService.login( "foo@bar", "password" ); targetUser = Backendless.Data.of( BackendlessUsers.class ).findById( targetUser.getObjectId() ); Backendless.Data.of( BackendlessUser.class ).remove( targetUser );
but i am admin and i want to remove my client then how should i know password of my client
thanks for your help…
If you are admin, you should use Backendless console to delete users.