Want to erase my iPad to factory settings..

When I go to reset my iPad to factory settings it wants my password..I don't have it that's why I want to reset...can I reset to factory settings without the password
Which passcode is it asking for? The iCloud passcode? The restrictions passcode? The lock screen passcode?

Original thread: https://forums.imore.com/threads/want-to-erase-my-ipad-to-factory-settings.386084/