This method will delete a division from hierarchy.


Resource Information

Response formats JSON (default), XML
HTTP Method DELETE
Response family hierarchy
Header
Authorization: api_key XXXXX


Resource URL

Production Server:

https://api.customergauge.com/v4.1/hierarchy.json


Parameters

division
required
Amsterdam


Example Request


cURL example curl -X DELETE https://api.customergauge.com/v4.1/hierarchy.json -d division=Amsterdam


Example Result


Message reported on successful operation:




1




{"Data":{"message":"Division has been deleted successfully."}}




Message reported on failed operation:




1




{"Error":{"Message":"Required field 'id' not supplied","Code":300004}}