'Deletes given volume from array.'

def delete_volume(self, object_id):

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