VIEW that wraps HierarchyDelete. This VIEW will be used to delete a Customer.
GET http://[host-proxy]/api/view/HcsDeleteCustomerVIEW/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 Customer",
"readonly": true,
"type": "string",
"title": " "
},
"target_hierarchy": {
"required": true,
"type": "string",
"title": "Customer 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 Customer. 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 Automate 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 VOSS Automate and/or UC APPS",
"title": "Confirmation"
},
"remove_arbitrator_data": {
"type": "boolean",
"description": "Check this box if you want to remove the data at this hierarchy from VOSS Assurance Arbitrator.",
"title": "Delete Data from VOSS Assurance Arbitrator"
},
"remove_all_v4uc_data": {
"type": "boolean",
"description": "Check this box if you want to remove remove all data from VOSS Automate. This process cannot be rolled back. All data under the selected Hierarchy node will be deleted and purged from the VOSS Automate database.",
"title": "Remove all data from VOSS Automate"
},
"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"
}
},
"schema_version": "2.23"
}