Actions37
- Append
- Blocking Pop Left
- Blocking Pop Right
- Delete
- Eval
- Exists
- Expire At
- Get
- Get Set
- Hash Exists
- Hash Keys
- Hash Length
- Hash Values
- Increment
- Info
- JSON Get
- JSON Set
- Keys
- List Length
- Multi Get
- Multi Set
- Persist
- Pop
- Publish
- Push
- Scan
- Set
- Set Add
- Set Cardinality
- Set Is Member
- Set Remove
- Sorted Set Add
- Sorted Set Cardinality
- Sorted Set Range
- Sorted Set Remove
- String Length
- TTL
Persist
AI-generatedSummary
Remove the expiration timer from a specified key in Redis, making it persistent indefinitely.
Inputs
- Key (required) — Name of the Redis key to remove expiration from.
Output shape
a single record with a JSON object containing the key name and a boolean indicating if persistence was successful
The output JSON includes 'key' (string) and 'persisted' (boolean) fields. No pagination or additional error envelopes are specified.
Examples
Example 1: Persist the key 'session_token' so it does not expire automatically
Set 'Key' to 'session_token' with operation 'Persist'.