GET http://[host-proxy]/api/view/HierarchyDelete/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",
"readonly": true,
"type": "string",
"title": " "
},
"target_hierarchy": {
"default": "{{ fn.hierarchy_friendly_path }}",
"required": true,
"type": "string",
"title": "Target Hierarchy to Delete"
},
"remove_hcmf_data": {
"type": "boolean",
"description": "Check this box if you want to remove the data from HCMF.",
"title": "Delete Data from HCMF"
},
"notes": {
"default": "This tool allows you to delete every instance under the target hierarchy node. Take caution. It is very destructive and cannot be rolled back. By default all the data will be purged/deleted from V4UC only. Please tick the UC APPS check boxes to delete the data from the various UC APPS as well.",
"readonly": true,
"type": "string",
"title": " "
},
"confirm": {
"choices": [
{
"value": "yes",
"title": "Yes, I confirm to delete/purge data"
}
],
"required": true,
"type": "string",
"description": "Confirmation of delete/purge of all data in V4UC and/or UC APPS",
"title": "Confirmation"
},
"remove_all_v4uc_data": {
"type": "boolean",
"description": "Check this box if you want to remove remove all data from V4UC. This process cannot be rolled back. All data under the selected Hierarchy node will be deleted and purged from the V4UC database.",
"title": "Remove all data from V4UC"
},
"remove_cucm_data": {
"type": "boolean",
"description": "Check this box if you want to remove the data from CUCM.",
"title": "Delete Data from CUCM"
},
"remove_uccx_data": {
"default": "false",
"type": "boolean",
"description": "Check this box if you want to remove the data from UCCX.",
"title": "Delete Data from UCCX"
},
"remove_cuc_data": {
"type": "boolean",
"description": "Check this box if you want to remove the data from CUC.",
"title": "Delete Data from CUC"
}
}
}