Skip to main content

Arguments

string
required
The key to expire.
integer
The number of milliseconds until the key expires.

Response

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