This method will delete a division from hierarchy.


Resource Information

Response formatsJSON (default), XML
HTTP MethodDELETE
Response familyhierarchy
Header
Authorization: api_key XXXXX


Resource URL

Europe Production Server:

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


Parameters

division
required
Amsterdam


Example Request


cURL examplecurl -X DELETE https://api.eu.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}}