Publishes a page's current draft to the live site. Requires the `publish` scope and respects your governance policy.
Publishes a page's current draft to the live site. Requires the publish scope and respects your governance policy.
Publishes the page and returns its live URL.
POST
/pages/{pageId}/publishBearer token — `Bearer dxb_live_…`.
The page ID.
Response
200Published
422Not publishable
cURL
curl --request POST \ --url https://api.doxbrix.io/v1/pages//publish
{ "id": "pg_01J8", "status": "published", "url": "https://docs.acme.com/docs/quickstart" }