public Optional < Dashboard > update ( Dashboard dashboard ) { return HTTP . PUT ( String . format ( "/v2/dashboards/%d.json" , dashboard . getId ( ) ) , dashboard , DASHBOARD ) ; }
Updates the given dashboard .