---
title: "POST /boards/{boardID}/blocks/{blockID}/undelete"
method: POST
path: "/boards/{boardID}/blocks/{blockID}/undelete"
---

# POST /boards/{boardID}/blocks/{blockID}/undelete

`POST /boards/{boardID}/blocks/{blockID}/undelete`

## Request

- Base URL: `http://localhost/api/v2`
- URL: `http://localhost/api/v2/boards/{boardID}/blocks/{blockID}/undelete`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/mattermost/apis/focalboard-server/docs/boards/:boardID/blocks/:blockID/undelete/post.ts> (a function with typed inputs; its response is checked against the schema)

Undeletes a block

## Path parameters

- `boardID` string, required
- `blockID` string, required

## Response `200`

success

- unknown

## Other responses

- `404`: block not found
- `default`: internal error

## Changes

- **2022-04-13** `8e122d5d731c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mattermost/apis/focalboard-server/changes/boards/:boardID/blocks/:blockID/undelete/post.md)

---

[API](https://skmtc.dev/mattermost/apis/focalboard-server.md) - [All operations](https://skmtc.dev/mattermost/apis/focalboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/mattermost/apis/focalboard-server/revisions/d238428e1666?raw)
