How do I delete icloud account

My daughter got a ipod touch and the neighbor girl put icloud on my daughters ipod using her login and password not realizing now they are synced. I want to delete the neighbors icloud account off of our ipod but do not want to delete her account if that makes sense?
Go to Setting>iCloud and then scroll to the bottom and select "Delete Account".

Original thread: https://forums.imore.com/threads/how-do-i-delete-icloud-account.268260/