So i'm making an android application using Firebase where a trainer can manage their clients. When the client signs up they are prompted to enter the trainers ID so when the account is created their details get copied and stored under the trainers database like this:
Basically the trainer should be able to delete clients from their database but is there a way to delete clients completely from application when logged in as a trainer? Or could you recommend a better way for trainers to manage clients than the way i have tried to implement?