Skip to main content

Renames a key, only if the new key does not exist.

Throws an exception if the key does not exist.

Arguments#

sourcestrrequired#

The original key.

destinationstrrequired#

A new name for the key.

Response#

boolrequired

True if key was renamed