We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bea7edf + 1cfde27 commit f489d70Copy full SHA for f489d70
README.md
@@ -2,7 +2,7 @@
2
3
## Requirements
4
5
-PHP 7.2 and later.
+PHP 8.0 and later.
6
7
The following PHP extensions are required:
8
lib/Traits/Api/Webhook.php
@@ -27,4 +27,14 @@ public function getWebhook(string $webhookId): ModelWebHook
27
{
28
return $this->mapper->map($this->request('GET', "webhooks/$webhookId/"), new ModelWebHook());
29
}
30
+
31
+ /**
32
+ *
33
+ * @param string $webhookId
34
+ * @return mixed
35
+ */
36
+ public function deleteWebhook(string $webhookId): mixed
37
+ {
38
+ return $this->request('DELETE', "webhooks/$webhookId/");
39
+ }
40
0 commit comments