new api call for /rename
takes oldname, newname, key, container form options