Skip to main content

Arguments#

keystringrequired#

The key to expire.

millisecondsinteger#

The number of milliseconds until the key expires.

Response#

integerrequired

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