you can use
BACKUP ARCHIVELOG ALL DELETE INPUT;

this will automatically delete all the logs