---
title: "Update Document Fields Assignment"
method: PATCH
path: "/public/v1/documents/{id}/fields"
tags: ["Document Fields"]
---

# Update Document Fields Assignment

`PATCH /public/v1/documents/{id}/fields`

Assign, reassign, or unassign document fields to recipients.
Supports bulk operations by accepting multiple field assignment items in a single request.

> 🚧 Before you start
>
> - The document must be in the 'Draft' (`document.draft`) status.
> - You must have the 'Can Edit Document' permission.

## Path parameters

- `id` string, required

## Request body

- UpdateDocumentFieldsAssignmentRequest — Request body for updating field assignments on a document.
  - `fields` DocumentFieldAssignmentItem[], required — An array of field assignment operations. Each item specifies a field and the recipient it should be assigned to.
    - `field_id` string, uuid, required — UUID of the field to assign or unassign.
    - `assigned_to` string, nullable, required — UUID of the recipient to assign the field to. Set to `null` to unassign the field from its current recipient.

## Response `204`

No content

## Other responses

- `400` — Bad Request
- `401` — Authentication error
- `403` — Permission error
- `404` — Not found
- `423` — Document is locked for editing
- `429` — Too Many Requests

---

[API](https://skmtc.net/pandadoc/apis/pandadoc-public-api.md) · [All operations](https://skmtc.net/pandadoc/apis/pandadoc-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandadoc/pandadoc-public-api/versions/0c2b70be3fb0/schema)
