The command follows this structure, with all parameters being optional:
nrfutil device erase [OPTIONS]
Note
Running nrfutil device erase with no erase options is equivalent to nrfutil device erase --all.
For the complete list of available options, run nrfutil device erase --help.