If you don’t know the password to someone’s Apple ID, you can remove it from their iPhone by following these steps:

  1. Open the Settings app on their iPhone and tap on “General.”
  2. Under “Accounts,” tap on the name of the person whose Apple ID you want to remove.
  3. 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.
  4. If they have enabled Two-Step Verification, you will be prompted to enter their verification code next.
  5. After entering all of the required information, tap on “Remove Account.” ..