Publish, schedule, or unpublish an item
Use exactly one publication action: published: true publishes immediately and sets publishedAt to now; a future publishAt schedules a draft for automatic publication; published: false unpublishes an item or cancels its schedule. A published item must be unpublished before it can be scheduled because CMS items do not have revision snapshots. Published websites read only items with an actual publishedAt, so immediate and scheduled promotion become visible without a site republish. Repeating the same action is idempotent.
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Path Parameters
1Body
Response
The item id plus its actual publishedAt and pending publishAt after the change.
Id of the item.
Actual publish timestamp after the change. Set when published immediately or by the scheduler; null for drafts and scheduled items.
Future publication time after the change; null for drafts and published items.