code: func (d *driver) Leave(nid, eid string) error {
  	leave := &api.LeaveRequest{
  		NetworkID:  nid,
  		EndpointID: eid,
  	}
  	return d.call("Leave", leave, &api.LeaveResponse{})
  }
docs: // Leave method is invoked when a Sandbox detaches from an endpoint.