code: def rename_snapshot(self, path, oldsnapshotname, snapshotname, **kwargs):
          
          response = self._put(path, 'RENAMESNAPSHOT',
                               oldsnapshotname=oldsnapshotname, snapshotname=snapshotname, **kwargs)
          assert not response.content
docs: Rename a snapshot