---
title: "Public Edit Block"
method: POST
path: "/public/{token}/blocks/{block_id}/edit"
---

# Public Edit Block

`POST /public/{token}/blocks/{block_id}/edit`

## 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/public/{token}/blocks/{block_id}/edit`
- Auth: none declared

## Path parameters

- `token` string, required
- `block_id` string, required

## Request body

- PublicEditRequest
  - `markdown` string, required
  - `base_version` string, required
  - `base_markdown` string, nullable

## 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)
