Validation of req.params with express validator [on hold]

If you use check (& ​​# 39;), it targets the req.body, how can we validate the req.params? I'm trying to make sure that the ID entered in the URL is valid.