RENAME key newkey

Renames collection key to newkey. If newkey already exists, it will be deleted prior to renaming.

Returns “OK” for success or “ERR” when key or newkey are actively being used by a geofence or webhook.

Examples

RENAME fleet fleet2