This task can be performed using Proxyvault
Make any link expirable
Best product for this task

Proxyvault
no-code
A middleware to securely handle your URLs or links and make them gated or expirable/n-times-usable.

What to expect from an ideal product
- Creates unique, time-limited links for sharing sensitive content
- Lets you set a specific number of uses for each generated link
- Tracks link usage and automatically disables expired ones
- Adds an extra layer of security to your shared URLs
- Gives you control over who can access your content and for how long