Skip to main content
POST
Upgrade dashboard layout

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

identifier
string
required

Document identifier (either document ID or identifier slug)

Body

application/json
clearExistingDraft
boolean
default:false

When upgrading a published document, discard any existing draft instead of failing with a conflict.

Response

Layout upgraded, or no-op if the document already had advanced layout.

identifier
string
required

Document identifier

upgraded
boolean
required

True when the layout was upgraded, false when the document already had advanced layout (no-op).