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

Authorizations

Authorization
string
header
required

Use 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

Model ID

branchName
string
required

Branch name

Response

Branch deleted successfully

success
boolean
Example:

true