code: public MergeRequest acceptMergeRequest(Object projectIdOrPath, Integer mergeRequestIid) throws GitLabApiException {
          return (acceptMergeRequest(projectIdOrPath, mergeRequestIid, null, null, null, null));
      }
docs: Merge changes to the merge request. If the MR has any conflicts and can not be merged,
  you'll get a 405 and the error message 'Branch cannot be merged'. If merge request is
  already merged or closed, you'll get a 406 and the error message 'Method Not Allowed'.
  If the sha parameter is passed and does not match the HEAD of the source, you'll get
  a 409 and the error message 'SHA does not match HEAD of source branch'.  If you don't
  have permissions to accept this merge request, you'll get a 401.
  
  <p>NOTE: GitLab API V4 uses IID (internal ID), V3 uses ID to identify the merge request.</p>
  
  <pre><code>GitLab Endpoint: PUT /projects/:id/merge_requests/:merge_request_iid/merge</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param mergeRequestIid the internal ID of the merge request
  @return the merged merge request
  @throws GitLabApiException if any exception occurs