REMOVE CONTACTS
Removes contacts
This method deletes contacts identified by contactIds from the system. If the id points to a non-existent contact, then the id is ignored.
REQUEST PARAMETERS
Parameter | Data Type | Demo Value | Description |
---|---|---|---|
RemoveContacts | object | ||
ContactId | List[long] |
EXAMPLE
using RestSharp;
namespace [your-namespace]
{
public class [your-class]
{
public string RemoveContact()
{
long contactId = 1428507003; // Your Contact Id here
var client = new RestClient("https://www.callfire.com/api/1.1/rest/");
client.Authenticator = new HttpBasicAuthenticator("YourLoginId", "password");
var request = new RestRequest(string.Format("contact/{0}", contactId), Method.DELETE);
var response = client.Execute(request);
string content = response.Content;
return content;
}
}
}
The response code returned is:
204
Which means that the contact has been deleted successfully.