---
title: "Update a draft body or reschedule a scheduled post."
method: PATCH
path: "/v1/posts/{postId}"
tags: ["posts"]
---

# Update a draft body or reschedule a scheduled post.

`PATCH /v1/posts/{postId}`

## Request

- Base URL: `https://lovable-anaconda-804.convex.site`
- URL: `https://lovable-anaconda-804.convex.site/v1/posts/{postId}`
- Auth: HTTP bearer

Edit a draft ({text}) or reschedule ({scheduledFor}).

## Path parameters

- `postId` string, required

## Response `200`

Updated

## Other responses

- `401`: Missing or invalid bearer token
- `403`: Missing the posts:write scope
- `409`: Wrong state

---

[API](https://skmtc.dev/dystro/apis/dystro-api.md) · [All operations](https://skmtc.dev/dystro/apis/dystro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dystro/apis/dystro-api/revisions/63bc7347e5cb?raw)
