Upgrade dashboard layout
Upgrade a document to the advanced dashboard layout — the same action available in the UI under File > Upgrade layout.
This operation is idempotent. If the document already uses the advanced layout, the request is a no-op and returns upgraded: false.
For published documents the upgrade runs through a draft-and-publish workflow automatically. If a draft already exists, the request returns 409 unless clearExistingDraft is set to true, which discards the existing draft before upgrading.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
Document identifier (either document ID or identifier slug)
Body
When upgrading a published document, discard any existing draft instead of failing with a conflict.

