Unbind a tile from its query model
Changed onUnbind a query-presentation tile from its query model on a draft, keeping the tile’s query. No request body.
The query-model binding (query.model_extension_id) is server-owned on the whole-document PATCH surface — a supplied value there is ignored and the tile keeps its stored binding. This draft-scoped route is the way to change it, addressing one tile by its stable record key. The binding shifts on every draft (each draft re-clones its query models), so work against a draft you have already read.
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v2/documents/{identifier}/draft/{draftIdentifier}/queries/{queryKey}/query-model
- AuthHTTP bearer
Path parameters
Draft workbook identifier (see PATCH /api/v2/documents/{identifier}/draft).
Published document identifier.
Record key of the tile, as it appears in queryPresentations.data.
Response
Tile unbound from its query model; the response carries the draftIdentifier.
Changes
- info
removed the non-success response with the status
- info
- info
endpoint added
- info