Reference

willo_content_publish

Change what the LIVE site shows for one CMS item: publish (optionally at publish_at), unpublish or delete (the result says what its address then does).

  • Act
  • Needs approval
Generated from Willo's codeOpen in ClaudeOpen in ChatGPT
On this page

Publish, unpublish or delete CMS content. With draft mode on, a publish waits for the next site Publish. ALWAYS needs a person's approval (pending_approval + link; call again after). No undo card.

Access

  • Token: read + act, and editor access or higher on the business.
  • Approval: Always. Every call raises a card a person approves on the dashboard.

Parameters

ParameterTypeRequiredDescription
actionstring (publish or unpublish or delete)yesWhat to do.
item_idinteger ≥ 1yesThe item, from willo_content.
publish_atstringnopublish only: ISO time to schedule it instead of now.
collectionstringnoCollection name (default blog).