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": {
"hierarchy_level": {
"default": "{{ fn.hierarchy_friendly_path }}",
"readonly": true,
"type": "string",
"title": "Hierarchy level"
},
"description": {
"default": "Hierarchy Delete Model Type",
"readonly": true,
"type": "string",
"title": " "
},
"confirm": {
"choices": [
{
"value": "yes",
"title": "Yes, I confirm to purge data"
}
],
"required": true,
"type": "string",
"description": "Confirmation of purge of all data in V4UC and/or UC APPS",
"title": "Confirmation"
},
"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 V4UC only. Data will be retained on all UC APPS.",
"readonly": true,
"type": "string",
"title": " "
},
"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,
"choices": [],
"title": "Data Model",
"type": "string",
"target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken]
}
}
}