---
title: "Update Block Document Data"
method: PATCH
path: "/api/block_documents/{id}"
tags: ["Block documents"]
---

# Update Block Document Data

`PATCH /api/block_documents/{id}`

## Path parameters

- `id` string, uuid, required — The block document id

## Headers

- `x-prefect-api-version` string

## Request body

- BlockDocumentUpdate — Data used by the Prefect REST API to update a block document.
  - `block_schema_id` string, uuid — A block schema ID
  - `data` object — The block document's data
  - `merge_existing_data` boolean

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

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