Overview
Update an existing blog post by its UUID. Supports partial updates - only include fields you want to change.Partial Updates: You don’t need to send all fields. Only include the fields you want to update.
Path Parameters
Blog post UUID to update
Request Body
All fields are optional - include only what you want to update.New blog title (1-500 characters)
Updated blog content in markdown (minimum 1 character)
Updated author name
Updated description
Updated tags array (replaces existing tags)
Updated thumbnail URL
Updated URL-friendly slug
Updated publication status
Response
Returns the updated blog post object with newupdated_at timestamp.
Blog post UUID (unchanged)
Updated or existing title
Updated or existing content
Updated or existing author
Updated or existing description
Updated or existing tags
Updated or existing thumbnail
Updated or existing slug
Updated or existing publication status
Original creation timestamp (unchanged)
New update timestamp (auto-updated)
Example Requests
Example Response
Status Code:
200 OKNote: updated_at is automatically updated to the current timestamp.Error Responses
Blog post not found
Validation error (invalid field values)
Server error occurred
Common Update Workflows
Publishing Drafts
Publishing Drafts
Change a draft to published status.
Updating Content
Updating Content
Update blog content while keeping other fields unchanged.
Adding Tags
Adding Tags
SEO Optimization
SEO Optimization
Update title, description, and slug for better SEO.
Best Practices
Partial updates - Only send fields you’re changing to reduce payload size and avoid accidental overwrites.
Validate before updating - Check field constraints (title length, content presence) client-side.
Handle 404 errors - Always check if the blog exists before attempting updates.
Track updated_at - Use
updated_at to detect conflicts in concurrent editing scenarios.Draft → Review → Publish workflow: Create with
published: false, update content, then update to published: true.Tags replacement: The
tags field replaces all existing tags. To add a tag, include all existing tags plus the new one.