'Renames given volume on array.'

def update_volume(self, object_id, label):

    if self.features.SSC_API_V2:
        path = self.RESOURCE_PATHS.get('ssc_volume')
    else:
        path = self.RESOURCE_PATHS.get('volume')
    data = {'name': label}
    return self._invoke('POST', path, data, **{'object-id': object_id})
