APIC to factory default reset configuration

Login to APIC using admin credentials

apic1:~> eraseconfig  setup