code: func (actor Actor) DeleteIsolationSegmentByName(name string) (Warnings, error) {
  	isolationSegment, warnings, err := actor.GetIsolationSegmentByName(name)
  	allWarnings := append(Warnings{}, warnings...)
  	if err != nil {
  		return allWarnings, err
  	}
  
  	apiWarnings, err := actor.CloudControllerClient.DeleteIsolationSegment(isolationSegment.GUID)
  	return append(allWarnings, apiWarnings...), err
  }
docs: // DeleteIsolationSegmentByName deletes the given isolation segment.