Need help? Get answers from the docs with Omni's in-app AI! Log in to your Omni instance and open the Omni Agent in the sidebar.
curl --request DELETE \
--url https://{instance}.omniapp.co/api/v1/models/{modelId}/view/{viewName} \
--header 'Authorization: Bearer <token>'{
"success": true
}Deletes or ignores a view from a model extension layer. Use the mode parameter to specify the behavior of this endpoint.
curl --request DELETE \
--url https://{instance}.omniapp.co/api/v1/models/{modelId}/view/{viewName} \
--header 'Authorization: Bearer <token>'{
"success": true
}Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
The unique identifier of the model.
The name of the view to delete or ignore.
Optional branch ID
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-deletesEXTENSION — Hard-deletes the view from the extension layerMERGED — Marks the view as shallowIgnored: true, hiding it only from the immediate parent layerCOMBINED, MERGED, EXTENSION View deleted or ignored successfully
true
Was this page helpful?