cURL
curl --request POST \ --url https://api.hubapi.com/content/api/v2/pages/{page_id}/publish-action \ --header 'Content-Type: application/json' \ --data ' { "action": "schedule-publish" } '
Either publishes or cancels publishing based on the POSTed JSON.
Scope requirements
The unique identifier for the page
The publish action to perform
push-buffer-live
schedule-publish
cancel-publish
Action completed successfully
Was this page helpful?