PATCH https://cms.thepublive.com/publisher/{publisher_id}/post/{id}/
Updates an existing post. Only send the fields you want to change (partial update).
Path Parameters
| Name | Type | Description |
|---|---|---|
| id | integer | Post ID |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | API Key |
| password | string | Yes | API Secret |
| Content-Type | string | Yes | application/json |
Request Body
Send only the fields you wish to update. Common fields:| Field | Type | Description |
|---|---|---|
title | string | Post headline |
content | string | HTML body content |
status | string | Draft, Published, Scheduled, Approval Pending |
primary_category | integer | Category ID |
contributors | string | Comma-separated author IDs |
tags | string | Comma-separated tag IDs |
categories | string | Comma-separated category IDs |
banner_url | integer | Media ID for featured image |
short_description | string | SEO meta description |
hide_banner_image | boolean | Hide the featured image |
type | string | Post type |
Example Request
- 200: OK