unpublish_page
Take a live HubSpot page offline instantly by reverting it to draft, stopping its URL from serving. Use when a page must be removed from public access without deletion.
Instructions
Take a live page down. It returns to draft; nothing is deleted.
The URL stops serving immediately. Anything linking to it — an ad, a newsletter that already went out, a QR code on a printed flyer — starts leading nowhere. Say that to the user before asking, and check whether a redirect is wanted instead.
Uses HubSpot's legacy publish-action endpoint, the only documented route. Verify the result in the UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| page_type | Yes | ||
| user_confirmed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||