VIEW that wraps HierarchyDelete. This VIEW will be used to delete a Provider.
GET http://[host-proxy]/api/view/HierarchyDeleteProvider/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": "Delete Provider",
"readonly": true,
"type": "string",
"title": " "
},
"target_hierarchy": {
"required": true,
"type": "string",
"title": "Provider 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 everything under the selected Provider. Take caution. It is very destructive and cannot be rolled back. Please tick the check boxes to delete the data from either the UC Apps or VOSS-4-UC database. If you do not select any check boxes the tool will not delete anything.",
"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": {
"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"
}
}
}