Using google script urlfetchapp to update form

Im looking at this KoBo API examples, using new KPI endpoints

Is it possible to change the xls_link instead? If so what is the curl request for changing the xls_link using the v2 api?