d0cc95e2 by fehrlich

add delete

1 parent 1a9b7343
......@@ -688,4 +688,15 @@ abstract class ImmoScoutAPI extends GuzzleClient
return $arr['common.realtorContactDetailsList']['realtorContactDetails'];
}
/**
* Get an array of all contacts that can be specified for a real estate.
* @param string $reId realestate id used by is24 *
*/
public function delete($reId)
{
$res = $this->callMethod('realestate/'.$reId, 'DELETE');
return $this->checkForResponseDeleted($res);
}
}
......
......@@ -4,8 +4,6 @@ namespace fehrlich\ImmoScoutAPI\exceptions;
use Exception;
use Exception;
class InvalidTokenException extends Exception
{
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!