Generally speaking, you need the Apple ID to reset your iPad. iPad needs you to enter the Apple ID to switch off your account and the Find My iPhone service will be turn off. If you are using iTunes to reset your iPad, you need to enter the Apple ID when your iPad reboots.
But if you have no Apple ID or passcode, you will have to reset your iPad without Apple ID. To reset iPad without Apple ID, you need first put iPad into DFU mode and connect it to your iTunes. Your iTunes will help you to reset your iPad without entering Apple ID easily. Resetting your iPad with this method will result in wiping all the data in your iPad. The following steps will show you how to do that.
Step 1: Open iTunes on your computer and connect your iPad to the computer with a USB cable.
Step 2: After that, turn off you device. Press and hold the Home button for 3 seconds.
Step 3: Put your iPad into DFU mode: Press and hold the Power and Home button for 10 seconds. Then release the power button and keep holding the home button. When you see the Apple logo disappears, you have successfully put your iPad into DFU mode.
Step 4: When iTunes detects that your iPad is in recovery mode, you can restore it now.
Step 5: Click on Restore iPad. Then you will be notified after the reset and your iPad will take a restart.
After resetting your iPad with the guidance mentioned above, you'd better create a new Apple ID and password in time. After resetting iPad, you will get all the data swept from iPad, and you can restore the files from your iPad, iTunes backup or iCloud backup. However, you can't backup iPad to iTunes/iCloud without Apple ID before you reset your iPad. In this case, you need the third-party iOS data recovery software to help you recover lost data from iPad after factory reset without Apple ID.