deleteWebhookById method

Future<void> deleteWebhookById(
  1. String id
)

Removes one of the caller org's webhook endpoints and answers 204 with no body.

Removes one of the caller org's webhook endpoints and answers 204 with no body. Delivery stops immediately and the endpoint's signing secret is gone with it; its recorded delivery history goes too. An id another org owns reads as not found.

Parameters:

Implementation

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