After updating page content, you must re-publish to push changes live:
# Update contentcurl -X PUT "https://api.pagegun.com/pages/page_xyz789" \
-H "Authorization: Bearer $PAGEGUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"markdown_content": "# Updated content\n\nNew version..."}'# Re-publish to make changes livecurl -X POST "https://api.pagegun.com/pages/page_xyz789/publish" \
-H "Authorization: Bearer $PAGEGUN_API_KEY"
Important Notes
Updates require re-publish: Editing a published page does not automatically update the live version. You must call publish again.
Docs navigation: For docs type pages, publishing regenerates the navigation tree. Changing only project settings without publishing a page will not update navigation.
CDN propagation: Changes typically appear within seconds, but allow up to 60 seconds for global CDN propagation.