deleteWebhookById method

Future<void> deleteWebhookById(
  1. String webhookId
)

Delete a webhook

Parameters:

  • String webhookId (required):

Implementation

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