Models
Delete field
Changed ondelete/api/v1/models/{modelId}/view/{viewName}/field/{fieldName}
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/models/{modelId}/view/{viewName}/field/{fieldName}
- AuthHTTP 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
fieldNamestring required
Field name
Example:total_amount
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.
topic_contextstring
Topic context for the field
Response
Field deleted successfully
Example response
{
"success": true
}Changes
- breaking
added the pattern
^\S*$to thepathrequest parameterviewName
- breaking