Posts

Update post

Update an existing post. Authors can update their own posts; admins/owners can update any post.

patch/blogs/{blogId}/posts/{postId}

Request

  • Base URL: https://api-docs.justblogged.com/api
  • URL: https://api-docs.justblogged.com/api/blogs/{blogId}/posts/{postId}
  • Auth: HTTP bearer

Path parameters

blogIdstring required

Blog ID

postIdstring required

Post ID

Request body

titlestring
slugstring
contentstring
status'draft' | 'published'
collection_idstring
author_idstring

Updated author user ID. Reassignment requires owner or admin access.

imagestring nullable
published_atstring date-time nullable
tagsstring[]

Response

Updated post

idstring required
titlestring required
urlstring uri required
slugstring required
contentstring required

HTML content

excerptstring required

Auto-generated excerpt from content or metadata.description

imagestring uri nullable
status'draft' | 'published' | 'scheduled' required

scheduled is derived from published status with future published_at

published_atstring date-time nullable
updated_atstring date-time nullable
created_atstring date-time required
metadataobject required

Custom metadata fields (max 20 fields)

Changes

No recorded changes to this operation across all 1 revision of this API.