delete

abstract fun delete(webhookId: String, handler: CompletionHandler<Void>)

Deletes a webhook by id.

Since

0.1

Parameters

webhookId

The identifier of the webhook. (Derived parameter: Use WebhookClient.list to get a list of webhooks. Then use Webhook.id to get the webhookId of the webhook).

handler

A closure to be executed once the request has finished.