public function delete($endpoint, $json)
{
$response = $this->http_client->request('DELETE', "https://api.intercom.io/{$endpoint}", ['json' => $json, 'auth' => $this->getAuth(), 'headers' => ['Accept' => 'application/json']]);
return $this->handleResponse($response);
}