Skip to main content
Renames a key and overwrites the new key if it already exists. Throws an exception if the key does not exist.

Arguments

source
str
required
The original key.
destination
str
required
A new name for the key.

Response

True if key was renamed