TTL.EXPIRE
The TTL.EXPIRE command is used to set a Time-To-Live (TTL) on a key.
TTL
The TTL command checks the remaining time-to-live (in seconds) for a specific key in the database.