HubSpot CMS Blog icon

HubSpot CMS Blog

Interact with HubSpot CMS Blog API (Posts and Tags)

Blog Post → Update

AI-generated

Summary

Updates a HubSpot blog post by sending the supplied fields as a PATCH request. Provide the required post ID and at least one field in Additional Fields; only populated values are included in the update.

Inputs

  • Post ID (required) — ID of the blog post to update.
  • Additional Fields (required) — Choose one or more fields to update: state, name, slug, language, blog author ID, tag IDs, HTML title, meta description, featured image URL and alt text, post body, post summary, RSS body and summary, featured image usage, campaign, or layout sections. Empty string values are omitted; the Use Featured Image boolean is sent when set to either true or false. Publish Date is available in the UI but is not used by this update operation.

Output shape

A single item containing the HubSpot API response as JSON.

The operation throws an error if no update fields are included. If Continue On Fail is enabled, errors are returned as an item with error details instead.

Links

Discussion