Delete Decisioning Asset
delete_decisioning_assetPermanently delete a SAS Viya decisioning asset and all its revisions while blocking deletion when dependencies are still in use, helping prevent invalid rules and broken references.
Instructions
Permanently delete a piece of decisioning content and all its revisions.
Something still in use — a rule set or code file a decision references, a category that still holds functions — is refused by Viya. A lookup table that rule sets use is refused here, naming them: Viya would delete it and leave those rules invalid.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asset_type": "<asset_type>",
"asset_id": "<asset_id>"
},
"name": "delete_decisioning_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | The ID to delete. | |
| asset_type | Yes | rule_set, decision, segmentation_tree, code_file, value_list, lookup_table, custom_function or function_category. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||