If you don’t know the password to someone’s Apple ID, you can remove it from their iPhone by following these steps:
- Open the Settings app on their iPhone and tap on “General.”
- Under “Accounts,” tap on the name of the person whose Apple ID you want to remove.
- Tap on “Password” and enter their current password. If they have forgotten their password, you will be prompted to create a new one for them.
- If they have enabled Two-Step Verification, you will be prompted to enter their verification code next.
- After entering all of the required information, tap on “Remove Account.” ..