I just strugged with this on a 2013 MacBook Air. I was unable to use Disk Utility to reformat the SSD after upgrading to APFS:
- Disk Utility from a 10.12.5 Bootable USB: failed
- Disk Utility from Internet Restore (booting 10.13 with Command + Option + R keys held down): Failed
- Disk Utility from Recovery Boot (booting 10.13 with Command+R keys held down): Works !
So, moral of the story: if you need to revert from 10.13 beta back to an earlier OS, the only way to do it is to boot into Recovery mode and use Disk Utiilty there. Any other way will fail.
Update: In fact, I had to do this in two steps:
- Run Disk Utility from Recovery Boot (booting 10.13 with Command+R keys held down). Erase the drive.
- Run Disk Utility from the 10.12.5 USB Insaller. Erase the Drive a second time.
Then I was able to do a fresh install of 10.12 back on the Mac. (Note that this erases the entire drive, so is not a solution for the original question asked).