How to free FRA space in Oracle 19c

In order to free all the space used by the database due to the archive mode and or flashback points run the following.

. oraenv cdb10x
rman target cdb10x
crosscheck backup;
crosscheck copy;
crosscheck archivelog all;
delete NOPROMPT obsolete;
delete NOPROMPT archivelog all;