Example #1
0
 /**
  * Deletes Lead.
  * @see https://developers.intercom.io/reference#delete-a-lead
  * @param string $id
  * @param array $options
  * @return mixed
  * @throws \GuzzleHttp\Exception\GuzzleException
  */
 public function deleteLead($id, $options = [])
 {
     $path = $this->leadPath($id);
     return $this->client->delete($path, $options);
 }
Example #2
0
 public function deleteUser($id, $options = [])
 {
     $path = $this->userPath($id);
     return $this->client->delete($path, $options);
 }