---
title: "Update blog post"
method: PATCH
path: "/api/sites/multiscreen/{site_name}/blog/posts/{post_id}"
tags: ["Blog"]
---

# Update blog post

`PATCH /api/sites/multiscreen/{site_name}/blog/posts/{post_id}`

## Request

- Base URL: `https://api.duda.co`
- URL: `https://api.duda.co/api/sites/multiscreen/{site_name}/blog/posts/{post_id}`
- Auth: HTTP basic

Updates a blog post.

## Path parameters

- `site_name` string, required
- `post_id` string, required

## Request body

- PublicUpdatePostPayloadRDT
  - `author_name` string
  - `description` string
  - `layout_id` string: Id of the layout to move the post to, from the blog's layouts. Omitted: the post keeps its layout.
  - `main_image` BlogPostImageRDT
    - `url` string
  - `meta_title` string
  - `no_index` boolean
  - `path` string
  - `publish_date` string, date-time
  - `schedule_publish_date` string, date-time
  - `tags` string[]
  - `thumbnail` BlogPostThumbnailImageRDT
    - `alt_text` string
    - `url` string
  - `title` string

## Response `200`

OK

- PublicRestPostResponseRDT
  - `author_name` string
  - `creation_date` string, date-time
  - `description` string
  - `id` string
  - `layout_id` string: Id of the layout the post is placed on. Omitted when the site has no blog layouts.
  - `main_image` BlogPostImageRDT
    - `url` string
  - `meta_title` string
  - `no_index` boolean
  - `path` string
  - `publish_date` string, date-time
  - `schedule_publish_date` string, date-time
  - `status` string
  - `tags` string[]
  - `thumbnail` BlogPostThumbnailImageRDT
    - `alt_text` string
    - `url` string
  - `title` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `405`: Method Not Allowed
- `429`: Too many requests. The rate limit was exceeded.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/duda/apis/duda-partner-api.md) - [All operations](https://skmtc.dev/duda/apis/duda-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/duda/apis/duda-partner-api/revisions/52be4d41cb12?raw)
