Skip to main content
DELETE
/
v1
/
models
/
{modelId}
/
view
/
{viewName}
Delete view
curl --request DELETE \
  --url https://{instance}.omniapp.co/api/v1/models/{modelId}/view/{viewName} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

modelId
string<uuid>
required

The unique identifier of the model.

viewName
string
required

The name of the view to delete or ignore.

Query Parameters

branchId
string<uuid>

Optional branch ID

mode
enum<string>
default:EXTENSION

Controls how the view is deleted or hidden:

  • COMBINEDDefault. 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
Available options:
COMBINED,
MERGED,
EXTENSION

Response

View deleted or ignored successfully

success
boolean
Example:

true