code: public Dashboard updateDashboard(BigInteger dashboardId, Dashboard dashboard) throws IOException, TokenExpiredException {
          String requestUrl = RESOURCE + "/" + dashboardId.toString();
          ArgusResponse response = getClient().executeHttpRequest(ArgusHttpClient.RequestType.PUT, requestUrl, dashboard);
  
          assertValidResponse(response, requestUrl);
          return fromJson(response.getResult(), Dashboard.class);
      }
docs: Creates a new dashboard.
  
  @param   dashboardId  The ID of the dashboard to update.
  @param   dashboard    The dashboard to create.
  
  @return  The persisted dashboard.
  
  @throws  IOException  If the server cannot be reached.
  @throws  TokenExpiredException   If the token sent along with the request has expired