delete_intent
Permanently remove an intent and its example sentences from a Cognigy flow. Validate changes with dryRun before applying.
Instructions
Deletes an intent from a Cognigy.AI flow. MUTATING & DESTRUCTIVE: This permanently removes the intent and its example sentences. Use dryRun=true (default) to validate first. After deleting, call train_intents to retrain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates without deleting. Set to false to actually delete. WARNING: Deletion cannot be undone. | |
| flowId | Yes | The flow ID containing the intent | |
| intentId | Yes | The ID of the intent to delete |