deleteWebhook method

Future<void> deleteWebhook(
  1. String inboxId,
  2. String webhookId
)

Delete and disable a Webhook for an Inbox

Parameters:

Implementation

Future<void> deleteWebhook(String inboxId, String webhookId,) async {
  final response = await deleteWebhookWithHttpInfo(inboxId, webhookId,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}