---
search:
  tags:
    - tasks
    - PATCH
seo:
  description: >-
    Merges the provided values into the… Reference for the PATCH
    /tasks/{identifier}/form-instances/{formInstanceId} endpoint in the Leadtime
    Public API API.
sidebar:
  badge: PATCH
  label: Update stored values for a form instance
title: Update stored values for a form instance
type: openapi-operation
---
Merges the provided `values` into the instance (see request body schema). Keys in `values` must match `fields[].valueKey` from GET `/tasks/{identifier}/form-instances` for this instance. For allowed types and select options, either read `fields` on that GET response or load the template definition with GET `/workspace/form-templates/{templateId}` using the instance `templateId`.

<Operation source="api-reference" id="taskforminstancescontroller-patchvalues" />
