Notes
public class CustomerAPI {
public static void DeleteCustomer(){
Http http = new Http();
HttpRequest request = new HttpRequest();
request.setEndpoint('https://api.pathtosalesforce.com/customer.php?id=27&token=YOURTOKENHERE');
request.setMethod('DELETE');
HttpResponse response = http.send(request);
System.debug(response.getStatusCode());
System.debug(response.getStatus());
System.debug(response.getBody());
}
}