public void deleteConsistencyGroup(String instanceId) throws StorageCenterAPIException {
  LOG.debug("Deleting consistency group '{}'",instanceId);
  RestResult rr=restClient.delete(String.format("StorageCenter/ScReplayProfile/%s",instanceId));
  if (!checkResults(rr)) {
    String msg=String.format("Error deleting CG %s: %s",instanceId,rr.getErrorMsg());
    LOG.error(msg);
    throw new StorageCenterAPIException(msg);
  }
}

public void deleteConsistencyGroup ( String instanceId ) throws StorageCenterAPIException { LOG . debug ( "Deleting consistency group '{}'" , instanceId ) ; RestResult rr = restClient . delete ( String . format ( "StorageCenter/ScReplayProfile/%s" , instanceId ) ) ; if ( ! checkResults ( rr ) ) { String msg = String . format ( "Error deleting CG %s: %s" , instanceId , rr . getErrorMsg ( ) ) ; LOG . error ( msg ) ; throw new StorageCenterAPIException ( msg ) ; } }
deletes a consistency group .
