Publishes the draft as a new version. This changes the page every link in the project shows.
Send body and/or css to save them first, as with PATCH /page_template. The last 20
versions are kept. Versions published through the API are recorded as published by the
project owner.
The request body is optional. When you send one, send Content-Type: application/json.
Saving, publishing and previewing share a limit of 60 requests per minute per API key.
Requirements: a Pro plan, page templates enabled for the project, and an API key of a project
owner or manager with the page_templates.publish scope. API keys with no scopes have full
access, so they can publish too. The page_templates.publish scope is enough to save a posted
body or css here; page_templates.update is not needed.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Unauthorized, or the project can't use page templates
