Delete mailqueue record based on CustomerGauge record ID.


Be careful using this API. It will delete records from the main database – but a copy is kept. In the event that you mistakenly delete some records, they can be restored but Professional Services costs may be incurred


Resource Information

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


Resource URL

Production Server:

https://api.customergauge.com/v4.1/transactions/mailqueue.json


Parameters

id
required
CustomerGauge id (this is the record number)
Example Values: 12


Example Request


cURL example curl -X DELETE https://api.customergauge.com/v4.1/transactions/mailqueue.json -d id=12


Example Result

Message reported on successful operation:




1




{"Data":{"id":12}}




Message reported on failed operation:




1




{"Error":{"Message":"Record does not exist","Code":400002}}