models:teardown
rai models:teardown [OPTIONS]Drop a model or branch and all its data.
When the target is the current model, resets deployment.schema
to its parent (or clears it if the model had no parent).
Options
| Option | Type | Description |
|---|---|---|
--name | text | Model/branch to tear down. Defaults to the configured deployment.schema. |
--force | Boolean | Actually perform the teardown. Without it, the command only prints what would be dropped. Default: False. |
--allow-unmerged | Boolean | Tear down even if the branch has unmerged changes (discards them). Default: False. |
--allow-children | Boolean | Tear down even if downstream branches exist (orphans them). Default: False. |