code: func (sb *sandbox) clearDefaultGW() error {
  	var ep *endpoint
  
  	if ep = sb.getEndpointInGWNetwork(); ep == nil {
  		return nil
  	}
  	if err := ep.sbLeave(sb, false); err != nil {
  		return fmt.Errorf("container %s: endpoint leaving GW Network failed: %v", sb.containerID, err)
  	}
  	if err := ep.Delete(false); err != nil {
  		return fmt.Errorf("container %s: deleting endpoint on GW Network failed: %v", sb.containerID, err)
  	}
  	return nil
  }
docs: // If present, detach and remove the endpoint connecting the sandbox to the default gw network.