code: public BoardList updateBoardList(Object projectIdOrPath, Integer boardId, Integer listId, Integer position) throws GitLabApiException {
          GitLabApiForm formData = new GitLabApiForm().withParam("position", position, true);
          Response response = putWithFormData(Response.Status.OK, formData,
                  "projects", getProjectIdOrPath(projectIdOrPath), "boards", boardId, "lists", listId);
          return (response.readEntity(BoardList.class));
      }
docs: Updates an existing Issue Board list. This call is used to change list position.
  
  <pre><code>GitLab Endpoint: PUT /projects/:id/boards/:board_id/lists/:list_id</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param boardId the ID of the board
  @param listId the ID of the list
  @param position the new position for the list
  @return the updated BoardList instance
  @throws GitLabApiException if any exception occurs