deleteWebhookById method
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:
- String id (required):
Implementation
Future<void> deleteWebhookById(String id,) async {
final response = await deleteWebhookByIdWithHttpInfo(id,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}