code: func (g *Gitlab) ProjectMergeRequestCancelMerge(id, merge_request_id string) (*MergeRequest, *ResponseMeta, error) {
  	u := g.ResourceUrl(ProjectMergeRequestCancelMergeApiPath, map[string]string{
  		":id":               id,
  		":merge_request_id": merge_request_id,
  	})
  
  	data, meta, err := g.buildAndExecRequest("PUT", u.String(), []byte{})
  	if err != nil {
  		return nil, meta, err
  	}
  
  	mr := new(MergeRequest)
  	err = json.Unmarshal(data, mr)
  	if err != nil {
  		panic(err)
  	}
  
  	return mr, meta, nil
  }
docs: /*
  Cancel Merge When Build Succeeds.
  
      PUT /projects/:id/merge_request/:merge_request_id/cancel_merge_when_build_succeeds
  
  Parameters:
  
      id               The ID of a project
      merge_request_id The ID of a merge request
  
  */