ORA-16605: unable to delete template, template is in use
Cause: The Data Guard broker was unable to delete the template because the template is still being used by one or more resources.
Action: Delete all resources using the template before deleting the template. You cannot delete the database template.