I recently update my modules routing.yml file and needed to update the routes in my Drupal 8 project.
Clearing the caches won’t update the routes.
To update the routes run this command with Drush:
drush ev '\Drupal::service("router.builder")->rebuild();'