Upstash Documentation home page
Search or ask...
Console
Discord
Blog
Twitter
Console
Search...
Navigation
Generic
RENAME
Overview
Redis
Vector
QStash
Workflow
Kafka
Developer API
Overall
Quickstarts
Features
SDKs
Typescript
Overview
Get Started
Commands
Overview
Auth
Bitmap
Generic
DEL
EXISTS
EXPIRE
EXPIREAT
KEYS
PERSIST
PEXPIRE
PEXPIREAT
PTTL
RANDOMKEY
RENAME
RENAMENX
SCAN
TOUCH
TTL
TYPE
UNLINK
Hash
Json
List
PubSub
Scripts
Server
Set
Sorted Set
Stream
String
Transactions
Deployment
Pipelining
Advanced
Retries
Troubleshooting
Developing or Testing
Python
Ratelimit (TS)
Ratelimit (PY)
How To
Integrations
Tutorials
Troubleshooting
Help
Generic
RENAME
Rename a key
Arguments
source
string
required
The original key.
destination
string
required
A new name for the key.
Response
OK
Was this page helpful?
Yes
No
RANDOMKEY
RENAMENX