docs/WebhooksApi.md in sib-api-v3-sdk-2.0.1 vs docs/WebhooksApi.md in sib-api-v3-sdk-2.1.0
- old
+ new
@@ -80,11 +80,11 @@
#config.api_key_prefix['api-key'] = 'Bearer'
end
api_instance = SibApiV3Sdk::WebhooksApi.new
-webhook_id = "webhook_id_example" # String | Id of the webhook
+webhook_id = 789 # Integer | Id of the webhook
begin
#Delete a webhook
api_instance.delete_webhook(webhook_id)
@@ -95,11 +95,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **webhook_id** | **String**| Id of the webhook |
+ **webhook_id** | **Integer**| Id of the webhook |
### Return type
nil (empty response body)
@@ -131,11 +131,11 @@
#config.api_key_prefix['api-key'] = 'Bearer'
end
api_instance = SibApiV3Sdk::WebhooksApi.new
-webhook_id = "webhook_id_example" # String | Id of the webhook
+webhook_id = 789 # Integer | Id of the webhook
begin
#Get a webhook details
result = api_instance.get_webhook(webhook_id)
@@ -147,11 +147,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **webhook_id** | **String**| Id of the webhook |
+ **webhook_id** | **Integer**| Id of the webhook |
### Return type
[**GetWebhook**](GetWebhook.md)
@@ -236,11 +236,11 @@
#config.api_key_prefix['api-key'] = 'Bearer'
end
api_instance = SibApiV3Sdk::WebhooksApi.new
-webhook_id = "webhook_id_example" # String | Id of the webhook
+webhook_id = 789 # Integer | Id of the webhook
update_webhook = SibApiV3Sdk::UpdateWebhook.new # UpdateWebhook | Values to update a webhook
begin
@@ -253,10 +253,10 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **webhook_id** | **String**| Id of the webhook |
+ **webhook_id** | **Integer**| Id of the webhook |
**update_webhook** | [**UpdateWebhook**](UpdateWebhook.md)| Values to update a webhook |
### Return type
nil (empty response body)