Models

Delete or ignores a view in a model. Use the mode parameter to specify the behavior of this endpoint.

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

Request

  • Base URL
    https://blobsrus.omniapp.co/api
  • URL
    https://blobsrus.omniapp.co/api/v1/models/{modelId}/view/{viewName}
  • Auth
    HTTP bearer

Path parameters

modelIdstring uuid required

The unique identifier of the model.

viewNamestring required

The name of the view to delete or ignore. Must not contain whitespace. A trailing .view or .query.view suffix is ignored.

Query parameters

branchIdstring uuid

Optional branch ID

mode'COMBINED' | 'MERGED' | 'EXTENSION'

Controls how the view is deleted or hidden:

  • COMBINED — Default. Marks the view as ignored (ignored: true) if it exists in the parent model, otherwise hard-deletes
  • EXTENSION — Hard-deletes the view from the extension layer
  • MERGED — Marks the view as shallowIgnored: true, hiding it only from the immediate parent layer

Response

View deleted or ignored successfully

successboolean

Example response

{
  "success": true
}

Changes