---
title: "Update Patient Dynamic Fields"
method: PUT
path: "/user/patient/{id}/dynamic-fields"
tags: ["provider", "user"]
---

# Update Patient Dynamic Fields

`PUT /user/patient/{id}/dynamic-fields`

Update patient's dynamic field data.

Args:
    dynamic_fields: Dictionary mapping field IDs to lists of values.
                   e.g., {"pdf_abc123": ["peanuts", "shellfish"], "pdf_def456": ["diabetes"]}

## Path parameters

- `id` string, required

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Request body

- object

## Response `200`

Successful Response

- UpdatePatientDynamicFieldsResponse — Response schema for updating patient dynamic fields.
  - `healthData` object, required — Updated health data

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) · [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/decodahealth/decoda-api/revisions/4939a65a89d2/schema)
