Update a post
update_postUpdate specific fields of an existing post—like title, slug, or content—without overwriting the rest.
Instructions
Partially updates an existing post — only the fields you pass are changed. Requires at least one field besides id. Requires the posts:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | PocketBase record ID of the post to update. | |
| slug | No | ||
| tags | No | ||
| title | No | ||
| status | No | draft or published. Transitioning draft -> published stamps published_at automatically. Prefer publish_post/unpublish_post for a status-only change. | |
| excerpt | No | ||
| seoTitle | No | ||
| contentHtml | No | ||
| contentJson | No | TipTap ProseMirror JSON document. | |
| seoDescription | No |