Dashboard date default filter value

Is it possible to set default dashboard filter value via API? We have dashboard with default filter value set to "Yesterday" which unfortunately does not make sense on Monday when it shows data for Sunday - instead, we need to show the data for Friday. Is there any option to do so?

Everything in Metabase can be done via the api