How to unenroll an enterprise user from 2FA

Bookmarklet

  1. Create a new bookmark in your browser (right click on bookmarks bar and click “Add page…” in Chrome.)
  2. For Name enter (“Unenroll Enterprise User from 2fa”).
  3. For URL, copy and paste the contents from this file.
  4. Click “Save”
  5. Now open a User in Settings and click on the bookmarklet, it should remove them from 2fa and popup a message giving the result.

Manual steps

  1. Go to their profile in the Settings application.
  2. You’ll see their userId in the url. (Example: https://banno.com/a/settings/6679/users/42855cf0-45e2-1031-88f9-ef7c388f3e0b). Note this piece 42855cf0-45e2-1031-88f9-ef7c388f3e0b is the userId.
  3. Right click the on the background of the webpage and then click Inspect
  4. A new window pane will open up on the side.
  5. In that pane up above theirs some menu items these will be Elements, Console, Sources, etc…
  6. Click the menu item that says Console
  7. Click next to the > that shows up to be able to type into that section.
  8. Copy and paste this code: fetch("https://banno.com/a/auth/api/out-of-band/<USER_ID>",{method:"delete"})
  9. Replace the <USER_ID> section with the userId you found above.
  10. Press enter to execute the command. It will show up as [Promise].
  11. You can open up this by clicking the triangle and expanding out the object till you find status: 200 which will show you it completed successfully.

Source: GitHub