v4
latestOpenAPI 3.1.02026-08-01207318738.7 KBReplace document (full replacement)
Deprecated — use PATCH /api/v2/documents/{identifier}/draft (and the related /draft routes). Removed on July 31, 2026: this endpoint now returns 410 unless your organization has been granted a migration extension. Contact support if you need one.
Updates a document with the specified identifier. This endpoint performs a full resource replacement — all required fields must be provided and existing query presentations are replaced entirely. Only dashboard documents are supported; analysis documents and documents without an associated dashboard return 400. For published documents, the update goes through a draft/publish workflow automatically; if a draft already exists, the request returns 409 unless clearExistingDraft is set to true.
Path parameters
Document identifier (either document ID or identifier slug)
Document identifier (either document ID or identifier slug)
Request body
Response
Document replaced successfully