How set a expired time for a new user link

In my case i would like to disable the link generate for a new user after x minutes or days without used by the user.
thanks for your support