Are they Cisco or Meraki?
If they're Cisco then you can default them and either hook them up to a controller (LWAPP mode) or just reconfigure them (autonomous mode, if they support it).
If they're Meraki then they will still be owned in the dashboard by the third party and there's nothing you can do with them unless they release them so you can claim them to your own dashboard.