---
title: "Update Blog Post"
method: PUT
path: "/api/blog/posts/{postId}"
---

# Update Blog Post

`PUT /api/blog/posts/{postId}`

## Path parameters

- `postId` integer, required

## Request body

- BlogPostInput
  - `id` integer
  - `body` string, required
  - `checksum` string

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2022-06-24** `c6e5ce6b99dc` — 1 info
  - endpoint added
- **2020-10-20** `cc829a74842c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/demo-blog-server/changes/api/blog/posts/:postId/put.md)

---

[API](https://skmtc.dev/azure/apis/demo-blog-server.md) · [All operations](https://skmtc.dev/azure/apis/demo-blog-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/demo-blog-server/revisions/6b9088cdaf01/schema)
