def METHOD_NAME(
    self,
    list_id: int,
    body: DashboardList,
) -> DashboardList:
    """Update a dashboard list.
    Update the name of a dashboard list.
    :param list_id: ID of the dashboard list to update.
    :type list_id: int
    :param body: Update a dashboard list request body.
    :type body: DashboardList
    :rtype: DashboardList
    """
    kwargs: Dict[str, Any] = {}
    kwargs["list_id"] = list_id
    kwargs["body"] = body
    return self._update_dashboard_list_endpoint.call_with_http_info(**kwargs)