Renames an object or location from the Favorites panel.
JavaScript
rename(id, newName)
Parameters
id
The ID of the object or location to be renamed.
newName
The new name of the object or location.