This function is designed to delete entire records from an uploaded file. Note that this includes ‘Completed’ records where a survey recipient has already submitted a response to the survey.


Resource Information

Response formatsJSON (default), XML
HTTP methodDELETE
Response familyfile
Header
Authorization: api_key XXXXX


Resource URL

Europe Production Server:

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


Parameters

id 
optional
File upload ID
Example Values: 12
Example Request
cURL Examplecurl -X DELETE “https://api.eu.customergauge.com/v4.1/file.json?id=12”



Example Result


Message reported on successful operation:




1




{"Data":true}




Message reported on failed operation:




1




{"Error":{"Message":"file not found","Code":400200}}