---
title: "Update Blog Post"
method: PATCH
path: "/blog-studio/posts/{post_id}"
tags: ["blog-studio"]
---

# Update Blog Post

`PATCH /blog-studio/posts/{post_id}`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/blog-studio/posts/{post_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

## Path parameters

- `post_id` string, uuid, required

## Headers

- `X-Blog-Studio-Token` string, nullable

## Request body

- BlogPostUpdate
  - `title` string, required
  - `slug` string, required
  - `content` string
  - `author` string, required
  - `cover_image_url` string, nullable
  - `status` 'draft' | 'published'

## Response `200`

Successful Response

- BlogPostResponse
  - `id` string, uuid, required
  - `title` string, required
  - `slug` string, required
  - `content` string, required
  - `author` string, required
  - `cover_image_url` string, nullable
  - `status` 'draft' | 'published', required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `published_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
