Developer Guide
Deleting Records
    In order to delete a record, you need to specify the record ID and use the DELETE REST resource. DELETE resource can be called using GET and have only an ID parameter.
     
    id:  ID of the record being deleted.
     

    The ezample below will delete a record with ID “001E000000HUJObIAP”:

    https://<instance>.magentrixcloud.com/rest/2.0/delete?id=001E000000HUJObIAP
      -H "Authorization: {token}"
      -H "Content-Type: application/json"    
    
    -H "Authorization: {token}"
    -H "Content-Type: application/json"
     

    If successful, the JSON response will have the "HasError" property set to false and the "Id" property will be populated with the record id. Otherwise, "HasError" will be true and "Errors" property will contain one or more records indicating the reason record deletion failed.

    {
       "Id":"001E000000HUJObIAP",
       "Errors":[],
       "HasError":
    }