Revocable URL with encrypted query parameters

I have a Next/Sanity application in which I am trying to build a form that generates a link. These are the features I require:

  1. Link expires after a certain date
  2. Query params are encrypted to prevent user manipulation
  3. Administrator is able to revoke link at any time

I am aware of libraries that can be used for encryption but I am slightly confused as to how I would make the link revocable. How would one go about doing this using Javascript libraries or frameworks? It is not necessary for my method to be highly secure.

Thanks in advance for your help 🙂