setApiKey('auth_token', 'ISNWF0P30WM0CMK'); $api_instance = new Braango\braangoapi\WebhooksApi(); // string | id of _sub_dealer_ $subdealerid = "subdealers2002"; // string | id of _personnel_ $salespersonid = "aed72631-c968-4362-a9a4-ebe5bef8310b"; // string | API Key to access this dealer's resources. // Value was returned when create_account api // was called and dealer was created first time $apiKey = "ISNMdzuNiKG7jhl9d9v"; // string | Dealer or partner is accessing this API $accountType = "partner"; try { $api_instance->deleteWebhook($subdealerid, $salespersonid, $apiKey, $accountType); } catch (Exception $e) { echo 'Exception when calling WebhooksApi->deleteWebhook: ', $e->getMessage(), PHP_EOL; } ?>