GET http://[host-proxy]/api/view/HierarchyDeleteDataModel/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"description": {
"default": "Hierarchy Delete Model Type",
"readonly": true,
"type": "string",
"title": " "
},
"notes": {
"default": "This tool allows you to delete every instance under the target hierarchy node for a specific model. Take caution. It is very destructive and cannot be rolled back. All the data will be purged from VOSS Automate only. Data will be retained on all UC APPS.",
"readonly": true,
"type": "string",
"title": " "
},
"hierarchy_level": {
"default": "{{ fn.hierarchy_friendly_path }}",
"readonly": true,
"type": "string",
"title": "Hierarchy level"
},
"target_hierarchy": {
"default": "{{ fn.hierarchy_friendly_path }}",
"required": true,
"type": "string",
"title": "Target Hierarchy to Delete"
},
"data_model": {
"description": "Select Data Model Type to delete at target hierarchy",
"format": "uri",
"required": true,
"title": "Data Model",
"type": "string",
"target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"choices": []
},
"confirm": {
"description": "Confirmation of purge of all data in VOSS Automate and/or UC APPS",
"title": "Confirmation",
"required": true,
"choices": [
{
"value": "yes",
"title": "Yes, I confirm to purge data"
}
],
"type": "string"
}
},
"schema_version": "0.1"
}