DeleteContactByEmail

Overview

Delete a contact based on information sent via an http form post.

Post Url

https://hyperdrivepro.morethanrewards.com/api/2/DeleteContactByEmail.aspx

- SSL is required

Form Fields

FieldMax Length*RequiredNotes
response_type
YesSet this field value to jsonto return results in JSON format
accountid
YesMust be numeric. Account ID for this account. 
apikey
YesAPI Key for this account. 
email
YesSpecify contact by email address. Multiple contacts will be deleted if they have the same matching email address.

Sample Results

Success Message

<?xml version="1.0" ?> 
<results>
   <deletedcontacts>
     <deletedcontact>
       <id>15622</id>
     </deletedcontact>
     <deletedcontact>
       <id>923623</id>
     </deletedcontact>
   </deletedcontacts>
   <summary>
     <deletecount>2</deletecount>
   </summary> 
</results>

Sample Failure Message

<?xml version="1.0"?> 
<results>
     <error>Authentication failed</error> 
</results