Arguments

key
string
required

The key to expire.

unixmilli
integer

The unix timestamp in milliseconds at which the key will expire.

Response

1 if the timeout was applied, 0 if key does not exist.