Models
delete/api/v1/models/{modelId}/view/{viewName}

Request

  • Base URL
    https://omniapp.co (the document declares no server; this is the origin it was published from)
  • URL
    https://omniapp.co/api/v1/models/{modelId}/view/{viewName}
  • Auth
    HTTP bearer

Path parameters

modelIdstring uuid required

Model UUID

Example:123e4567-e89b-12d3-a456-426614174000
viewNamestring required

View name. Must not contain whitespace; a trailing .view or .query.view file suffix is ignored.

Example:orders

Query parameters

branch_idstring uuid

The branch to work in: its orgBranchId, or its per-model branch ID as listed under branches by GET /api/v1/models?include=activeBranches. 404 when the branch has no branch on this model.

Example:123e4567-e89b-12d3-a456-426614174001
mode'COMBINED' | 'MERGED' | 'EXTENSION'

Controls delete behavior to match IDE editing modes. COMBINED (default) marks the view as ignored if it exists in the parent model, otherwise hard-deletes. MERGED marks the view as shallowIgnored (hidden only from the immediate parent). EXTENSION hard-deletes the view from the extension layer.

Example:COMBINED

Response

View deleted successfully

successboolean required

Whether the operation was successful

Example response

{
  "success": true
}

Changes