Publish the portal
POST/v1/builder/publish
Saves the draft as sent (same body as the draft save, plus an optional note) and freezes it into the next version, in one transaction: portal visitors see it right away. A form field whose regular expression could hang validation answers 422 UNSAFE_FIELD_PATTERN.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Version published, with the draft’s new revision.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation — or the organization has no active plan (ENTITLEMENT_REQUIRED, with details.reason = no_plan and details.required_product).
Resource not found in the current organization.
The revision sent is stale: someone (or another tab) saved the draft in between. Read it again and resend.
A form field regular expression could hang validation (UNSAFE_FIELD_PATTERN); details names the page, block and field.
Rate limit exceeded.
Unexpected server error.