Please help how can I unpair a bluetooth device with an app created in the app inventor platform

You can use Bluetooth extension of Taifun.
Or this one