---
title: "Set Document Frontmatter"
method: PUT
path: "/documents/{doc_id}/frontmatter"
---

# Set Document Frontmatter

`PUT /documents/{doc_id}/frontmatter`

## Request

- Base URL: `https://app.wunel.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.wunel.com/documents/{doc_id}/frontmatter`
- Auth: none declared

Human-edited page metadata (type/status/confidence/last_verified/tags/…).
Replaces the whole frontmatter map; membership + edit permission checked.

## Path parameters

- `doc_id` string, required

## Request body

- SetFrontmatterRequest
  - `frontmatter` object, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/wunel/apis/wunel-api.md) · [All operations](https://skmtc.dev/wunel/apis/wunel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wunel/apis/wunel-api/revisions/872fe0687a60?raw)
