Is there a way to reset, or remove a passcode from a device?

I've tried removing the security policy, changing the policy to not require a passcode and both (as expected) did not actually remove the passcode.

thanks