Using toggle component to create and delete data in the DB

What’s up,
I would love to use the “Toggle” component in a list to add and remove items in the Database (DB).

My problem is that I can add data (rows) in the DB but I cannot delete if the user turns off the “Toggle”.

I’d like that if a user turn off “toggle”, in DB delete automatically row (Ord Paises Usua, for example):

this might be what you are looking for