sib-api-v3-sdk 5.2.2 → 5.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb4ff8d75ee2a788e04419e8b01331c4e963d6f6636ed1573c36de48cf502881
4
- data.tar.gz: 358d03549ce436aadb920ce4966bc2531f40598800808ce60d478e9465d35784
3
+ metadata.gz: 4bdbd89d3528035d522222b11370235476da620a375b5e0144fe436620d7eb3a
4
+ data.tar.gz: e6f8148806c8777a2815a1ef52f98e895194c2ea9576e7501ab84851a9a3abd5
5
5
  SHA512:
6
- metadata.gz: 2949262efe9d3810942d47c677af7222463dba547d5c422eacefc63e716f6eca6d4651ec9ef33e4b22adaf563a7adb7a60155b2b93a374a24d34d40f19f7c355
7
- data.tar.gz: 97d5b4ecd19e0efee43bc248270d2385741ba06a94c31c3b1ce933e5ffc896e3d55cfd589456df37169ebd29002fabef6744cb7882e075d56f2bbb709789bc70
6
+ metadata.gz: f2e58a137ae24166e844c8dd3388ce36ba0f0b1820d7cd6a39678bb013ba8ad15dc3fc50411fb2dd32140cc89c06f435a3e0b8a191a03e0d5a9856b2ddc19113
7
+ data.tar.gz: 0d605598df8619303be750f7373d8e625416cdc2a3746b429808c02cbee57171a32ab3cebbaa8754ae189221a1856ab9054a15801491d3375a4b522a3affc9d6
data/README.md CHANGED
@@ -59,6 +59,11 @@ SibApiV3Sdk.configure do |config|
59
59
  config.api_key['api-key'] = 'YOUR API KEY'
60
60
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
61
61
  #config.api_key_prefix['api-key'] = 'Bearer'
62
+
63
+ # Configure API key authorization: partner-key
64
+ config.api_key['partner-key'] = 'YOUR API KEY'
65
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
66
+ #config.api_key_prefix['partner-key'] = 'Bearer'
62
67
  end
63
68
 
64
69
  api_instance = SibApiV3Sdk::AccountApi.new
@@ -139,12 +144,17 @@ Class | Method | HTTP request | Description
139
144
  *SibApiV3Sdk::ProcessApi* | [**get_processes**](docs/ProcessApi.md#get_processes) | **GET** /processes | Return all the processes for your account
140
145
  *SibApiV3Sdk::ResellerApi* | [**add_credits**](docs/ResellerApi.md#add_credits) | **POST** /reseller/children/{childAuthKey}/credits/add | Add Email and/or SMS credits to a specific child account
141
146
  *SibApiV3Sdk::ResellerApi* | [**associate_ip_to_child**](docs/ResellerApi.md#associate_ip_to_child) | **POST** /reseller/children/{childAuthKey}/ips/associate | Associate a dedicated IP to the child
147
+ *SibApiV3Sdk::ResellerApi* | [**create_child_domain**](docs/ResellerApi.md#create_child_domain) | **POST** /reseller/children/{childAuthKey}/domains | Creates a domain for a child account
142
148
  *SibApiV3Sdk::ResellerApi* | [**create_reseller_child**](docs/ResellerApi.md#create_reseller_child) | **POST** /reseller/children | Creates a reseller child
149
+ *SibApiV3Sdk::ResellerApi* | [**delete_child_domain**](docs/ResellerApi.md#delete_child_domain) | **DELETE** /reseller/children/{childAuthKey}/domains/{domainName} | Deletes the sender domain of the reseller child based on the childAuthKey and domainName passed
143
150
  *SibApiV3Sdk::ResellerApi* | [**delete_reseller_child**](docs/ResellerApi.md#delete_reseller_child) | **DELETE** /reseller/children/{childAuthKey} | Deletes a single reseller child based on the childAuthKey supplied
144
151
  *SibApiV3Sdk::ResellerApi* | [**dissociate_ip_from_child**](docs/ResellerApi.md#dissociate_ip_from_child) | **POST** /reseller/children/{childAuthKey}/ips/dissociate | Dissociate a dedicated IP to the child
152
+ *SibApiV3Sdk::ResellerApi* | [**get_child_domains**](docs/ResellerApi.md#get_child_domains) | **GET** /reseller/children/{childAuthKey}/domains | Gets all the sender domains of a specific child account
145
153
  *SibApiV3Sdk::ResellerApi* | [**get_child_info**](docs/ResellerApi.md#get_child_info) | **GET** /reseller/children/{childAuthKey} | Gets the info about a specific child account
146
154
  *SibApiV3Sdk::ResellerApi* | [**get_reseller_childs**](docs/ResellerApi.md#get_reseller_childs) | **GET** /reseller/children | Gets the list of all reseller's children accounts
155
+ *SibApiV3Sdk::ResellerApi* | [**get_sso_token**](docs/ResellerApi.md#get_sso_token) | **GET** /reseller/children/{childAuthKey}/auth | Generates a session token which will remain valid for a short period of time only.
147
156
  *SibApiV3Sdk::ResellerApi* | [**remove_credits**](docs/ResellerApi.md#remove_credits) | **POST** /reseller/children/{childAuthKey}/credits/remove | Remove Email and/or SMS credits from a specific child account
157
+ *SibApiV3Sdk::ResellerApi* | [**update_child_domain**](docs/ResellerApi.md#update_child_domain) | **PUT** /reseller/children/{childAuthKey}/domains/{domainName} | Updates the sender domain of reseller's child based on the childAuthKey and domainName passed
148
158
  *SibApiV3Sdk::ResellerApi* | [**update_reseller_child**](docs/ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{childAuthKey} | Updates infos of reseller's child based on the childAuthKey supplied
149
159
  *SibApiV3Sdk::SMSCampaignsApi* | [**create_sms_campaign**](docs/SMSCampaignsApi.md#create_sms_campaign) | **POST** /smsCampaigns | Creates an SMS campaign
150
160
  *SibApiV3Sdk::SMSCampaignsApi* | [**delete_sms_campaign**](docs/SMSCampaignsApi.md#delete_sms_campaign) | **DELETE** /smsCampaigns/{campaignId} | Delete the SMS campaign
@@ -187,6 +197,7 @@ Class | Method | HTTP request | Description
187
197
 
188
198
  ## Documentation for Models
189
199
 
200
+ - [SibApiV3Sdk::AddChildDomain](docs/AddChildDomain.md)
190
201
  - [SibApiV3Sdk::AddContactToList](docs/AddContactToList.md)
191
202
  - [SibApiV3Sdk::AddCredits](docs/AddCredits.md)
192
203
  - [SibApiV3Sdk::CreateAttribute](docs/CreateAttribute.md)
@@ -225,6 +236,8 @@ Class | Method | HTTP request | Description
225
236
  - [SibApiV3Sdk::GetCampaignOverview](docs/GetCampaignOverview.md)
226
237
  - [SibApiV3Sdk::GetCampaignRecipients](docs/GetCampaignRecipients.md)
227
238
  - [SibApiV3Sdk::GetCampaignStats](docs/GetCampaignStats.md)
239
+ - [SibApiV3Sdk::GetChildDomain](docs/GetChildDomain.md)
240
+ - [SibApiV3Sdk::GetChildDomains](docs/GetChildDomains.md)
228
241
  - [SibApiV3Sdk::GetChildInfoApiKeys](docs/GetChildInfoApiKeys.md)
229
242
  - [SibApiV3Sdk::GetChildInfoApiKeysV2](docs/GetChildInfoApiKeysV2.md)
230
243
  - [SibApiV3Sdk::GetChildInfoApiKeysV3](docs/GetChildInfoApiKeysV3.md)
@@ -278,6 +291,7 @@ Class | Method | HTTP request | Description
278
291
  - [SibApiV3Sdk::GetSmtpTemplateOverview](docs/GetSmtpTemplateOverview.md)
279
292
  - [SibApiV3Sdk::GetSmtpTemplateOverviewSender](docs/GetSmtpTemplateOverviewSender.md)
280
293
  - [SibApiV3Sdk::GetSmtpTemplates](docs/GetSmtpTemplates.md)
294
+ - [SibApiV3Sdk::GetSsoToken](docs/GetSsoToken.md)
281
295
  - [SibApiV3Sdk::GetStatsByDomain](docs/GetStatsByDomain.md)
282
296
  - [SibApiV3Sdk::GetTransacAggregatedSmsReport](docs/GetTransacAggregatedSmsReport.md)
283
297
  - [SibApiV3Sdk::GetTransacSmsReport](docs/GetTransacSmsReport.md)
@@ -318,6 +332,7 @@ Class | Method | HTTP request | Description
318
332
  - [SibApiV3Sdk::UpdateAttributeEnumeration](docs/UpdateAttributeEnumeration.md)
319
333
  - [SibApiV3Sdk::UpdateCampaignStatus](docs/UpdateCampaignStatus.md)
320
334
  - [SibApiV3Sdk::UpdateChild](docs/UpdateChild.md)
335
+ - [SibApiV3Sdk::UpdateChildDomain](docs/UpdateChildDomain.md)
321
336
  - [SibApiV3Sdk::UpdateContact](docs/UpdateContact.md)
322
337
  - [SibApiV3Sdk::UpdateEmailCampaign](docs/UpdateEmailCampaign.md)
323
338
  - [SibApiV3Sdk::UpdateEmailCampaignRecipients](docs/UpdateEmailCampaignRecipients.md)
@@ -347,6 +362,12 @@ Class | Method | HTTP request | Description
347
362
  - **API key parameter name**: api-key
348
363
  - **Location**: HTTP header
349
364
 
365
+ ### partner-key
366
+
367
+ - **Type**: API key
368
+ - **API key parameter name**: partner-key
369
+ - **Location**: HTTP header
370
+
350
371
 
351
372
  ## Support and Feedback
352
373
 
@@ -0,0 +1,8 @@
1
+ # SibApiV3Sdk::AddChildDomain
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **domain** | **String** | Sender domain to add for a specific child account | [optional]
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # SibApiV3Sdk::GetChildDomain
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **domain** | **String** | Sender domain |
7
+ **active** | **BOOLEAN** | indicates whether a domain is verified or not |
8
+
9
+
@@ -0,0 +1,7 @@
1
+ # SibApiV3Sdk::GetChildDomains
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+
@@ -0,0 +1,8 @@
1
+ # SibApiV3Sdk::GetSsoToken
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **token** | **String** | Session token. It will remain valid for a short period of time only. |
7
+
8
+
data/docs/ResellerApi.md CHANGED
@@ -6,12 +6,17 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**add_credits**](ResellerApi.md#add_credits) | **POST** /reseller/children/{childAuthKey}/credits/add | Add Email and/or SMS credits to a specific child account
8
8
  [**associate_ip_to_child**](ResellerApi.md#associate_ip_to_child) | **POST** /reseller/children/{childAuthKey}/ips/associate | Associate a dedicated IP to the child
9
+ [**create_child_domain**](ResellerApi.md#create_child_domain) | **POST** /reseller/children/{childAuthKey}/domains | Creates a domain for a child account
9
10
  [**create_reseller_child**](ResellerApi.md#create_reseller_child) | **POST** /reseller/children | Creates a reseller child
11
+ [**delete_child_domain**](ResellerApi.md#delete_child_domain) | **DELETE** /reseller/children/{childAuthKey}/domains/{domainName} | Deletes the sender domain of the reseller child based on the childAuthKey and domainName passed
10
12
  [**delete_reseller_child**](ResellerApi.md#delete_reseller_child) | **DELETE** /reseller/children/{childAuthKey} | Deletes a single reseller child based on the childAuthKey supplied
11
13
  [**dissociate_ip_from_child**](ResellerApi.md#dissociate_ip_from_child) | **POST** /reseller/children/{childAuthKey}/ips/dissociate | Dissociate a dedicated IP to the child
14
+ [**get_child_domains**](ResellerApi.md#get_child_domains) | **GET** /reseller/children/{childAuthKey}/domains | Gets all the sender domains of a specific child account
12
15
  [**get_child_info**](ResellerApi.md#get_child_info) | **GET** /reseller/children/{childAuthKey} | Gets the info about a specific child account
13
16
  [**get_reseller_childs**](ResellerApi.md#get_reseller_childs) | **GET** /reseller/children | Gets the list of all reseller's children accounts
17
+ [**get_sso_token**](ResellerApi.md#get_sso_token) | **GET** /reseller/children/{childAuthKey}/auth | Generates a session token which will remain valid for a short period of time only.
14
18
  [**remove_credits**](ResellerApi.md#remove_credits) | **POST** /reseller/children/{childAuthKey}/credits/remove | Remove Email and/or SMS credits from a specific child account
19
+ [**update_child_domain**](ResellerApi.md#update_child_domain) | **PUT** /reseller/children/{childAuthKey}/domains/{domainName} | Updates the sender domain of reseller's child based on the childAuthKey and domainName passed
15
20
  [**update_reseller_child**](ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{childAuthKey} | Updates infos of reseller's child based on the childAuthKey supplied
16
21
 
17
22
 
@@ -134,6 +139,65 @@ nil (empty response body)
134
139
 
135
140
 
136
141
 
142
+ # **create_child_domain**
143
+ > create_child_domain(child_auth_key, add_child_domain)
144
+
145
+ Creates a domain for a child account
146
+
147
+ ### Example
148
+ ```ruby
149
+ # load the gem
150
+ require 'sib-api-v3-sdk'
151
+ # setup authorization
152
+ SibApiV3Sdk.configure do |config|
153
+ # Configure API key authorization: api-key
154
+ config.api_key['api-key'] = 'YOUR API KEY'
155
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
156
+ #config.api_key_prefix['api-key'] = 'Bearer'
157
+
158
+ # Configure API key authorization: partner-key
159
+ config.api_key['partner-key'] = 'YOUR API KEY'
160
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
161
+ #config.api_key_prefix['partner-key'] = 'Bearer'
162
+ end
163
+
164
+ api_instance = SibApiV3Sdk::ResellerApi.new
165
+
166
+ child_auth_key = "child_auth_key_example" # String | auth key of reseller's child
167
+
168
+ add_child_domain = SibApiV3Sdk::AddChildDomain.new # AddChildDomain | Sender domain to add for a specific child account
169
+
170
+
171
+ begin
172
+ #Creates a domain for a child account
173
+ api_instance.create_child_domain(child_auth_key, add_child_domain)
174
+ rescue SibApiV3Sdk::ApiError => e
175
+ puts "Exception when calling ResellerApi->create_child_domain: #{e}"
176
+ end
177
+ ```
178
+
179
+ ### Parameters
180
+
181
+ Name | Type | Description | Notes
182
+ ------------- | ------------- | ------------- | -------------
183
+ **child_auth_key** | **String**| auth key of reseller's child |
184
+ **add_child_domain** | [**AddChildDomain**](AddChildDomain.md)| Sender domain to add for a specific child account |
185
+
186
+ ### Return type
187
+
188
+ nil (empty response body)
189
+
190
+ ### Authorization
191
+
192
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
193
+
194
+ ### HTTP request headers
195
+
196
+ - **Content-Type**: application/json
197
+ - **Accept**: application/json
198
+
199
+
200
+
137
201
  # **create_reseller_child**
138
202
  > CreateReseller create_reseller_child(opts)
139
203
 
@@ -192,6 +256,65 @@ Name | Type | Description | Notes
192
256
 
193
257
 
194
258
 
259
+ # **delete_child_domain**
260
+ > delete_child_domain(child_auth_key, domain_name)
261
+
262
+ Deletes the sender domain of the reseller child based on the childAuthKey and domainName passed
263
+
264
+ ### Example
265
+ ```ruby
266
+ # load the gem
267
+ require 'sib-api-v3-sdk'
268
+ # setup authorization
269
+ SibApiV3Sdk.configure do |config|
270
+ # Configure API key authorization: api-key
271
+ config.api_key['api-key'] = 'YOUR API KEY'
272
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
273
+ #config.api_key_prefix['api-key'] = 'Bearer'
274
+
275
+ # Configure API key authorization: partner-key
276
+ config.api_key['partner-key'] = 'YOUR API KEY'
277
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
278
+ #config.api_key_prefix['partner-key'] = 'Bearer'
279
+ end
280
+
281
+ api_instance = SibApiV3Sdk::ResellerApi.new
282
+
283
+ child_auth_key = "child_auth_key_example" # String | auth key of reseller's child
284
+
285
+ domain_name = "domain_name_example" # String | Pass the existing domain that needs to be deleted
286
+
287
+
288
+ begin
289
+ #Deletes the sender domain of the reseller child based on the childAuthKey and domainName passed
290
+ api_instance.delete_child_domain(child_auth_key, domain_name)
291
+ rescue SibApiV3Sdk::ApiError => e
292
+ puts "Exception when calling ResellerApi->delete_child_domain: #{e}"
293
+ end
294
+ ```
295
+
296
+ ### Parameters
297
+
298
+ Name | Type | Description | Notes
299
+ ------------- | ------------- | ------------- | -------------
300
+ **child_auth_key** | **String**| auth key of reseller's child |
301
+ **domain_name** | **String**| Pass the existing domain that needs to be deleted |
302
+
303
+ ### Return type
304
+
305
+ nil (empty response body)
306
+
307
+ ### Authorization
308
+
309
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
310
+
311
+ ### HTTP request headers
312
+
313
+ - **Content-Type**: application/json
314
+ - **Accept**: application/json
315
+
316
+
317
+
195
318
  # **delete_reseller_child**
196
319
  > delete_reseller_child(child_auth_key)
197
320
 
@@ -307,6 +430,63 @@ nil (empty response body)
307
430
 
308
431
 
309
432
 
433
+ # **get_child_domains**
434
+ > GetChildDomains get_child_domains(child_auth_key)
435
+
436
+ Gets all the sender domains of a specific child account
437
+
438
+ ### Example
439
+ ```ruby
440
+ # load the gem
441
+ require 'sib-api-v3-sdk'
442
+ # setup authorization
443
+ SibApiV3Sdk.configure do |config|
444
+ # Configure API key authorization: api-key
445
+ config.api_key['api-key'] = 'YOUR API KEY'
446
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
447
+ #config.api_key_prefix['api-key'] = 'Bearer'
448
+
449
+ # Configure API key authorization: partner-key
450
+ config.api_key['partner-key'] = 'YOUR API KEY'
451
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
452
+ #config.api_key_prefix['partner-key'] = 'Bearer'
453
+ end
454
+
455
+ api_instance = SibApiV3Sdk::ResellerApi.new
456
+
457
+ child_auth_key = "child_auth_key_example" # String | auth key of reseller's child
458
+
459
+
460
+ begin
461
+ #Gets all the sender domains of a specific child account
462
+ result = api_instance.get_child_domains(child_auth_key)
463
+ p result
464
+ rescue SibApiV3Sdk::ApiError => e
465
+ puts "Exception when calling ResellerApi->get_child_domains: #{e}"
466
+ end
467
+ ```
468
+
469
+ ### Parameters
470
+
471
+ Name | Type | Description | Notes
472
+ ------------- | ------------- | ------------- | -------------
473
+ **child_auth_key** | **String**| auth key of reseller's child |
474
+
475
+ ### Return type
476
+
477
+ [**GetChildDomains**](GetChildDomains.md)
478
+
479
+ ### Authorization
480
+
481
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
482
+
483
+ ### HTTP request headers
484
+
485
+ - **Content-Type**: application/json
486
+ - **Accept**: application/json
487
+
488
+
489
+
310
490
  # **get_child_info**
311
491
  > GetChildInfo get_child_info(child_auth_key)
312
492
 
@@ -415,6 +595,63 @@ This endpoint does not need any parameter.
415
595
 
416
596
 
417
597
 
598
+ # **get_sso_token**
599
+ > GetSsoToken get_sso_token(child_auth_key)
600
+
601
+ Generates a session token which will remain valid for a short period of time only.
602
+
603
+ ### Example
604
+ ```ruby
605
+ # load the gem
606
+ require 'sib-api-v3-sdk'
607
+ # setup authorization
608
+ SibApiV3Sdk.configure do |config|
609
+ # Configure API key authorization: api-key
610
+ config.api_key['api-key'] = 'YOUR API KEY'
611
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
612
+ #config.api_key_prefix['api-key'] = 'Bearer'
613
+
614
+ # Configure API key authorization: partner-key
615
+ config.api_key['partner-key'] = 'YOUR API KEY'
616
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
617
+ #config.api_key_prefix['partner-key'] = 'Bearer'
618
+ end
619
+
620
+ api_instance = SibApiV3Sdk::ResellerApi.new
621
+
622
+ child_auth_key = "child_auth_key_example" # String | auth key of reseller's child
623
+
624
+
625
+ begin
626
+ #Generates a session token which will remain valid for a short period of time only.
627
+ result = api_instance.get_sso_token(child_auth_key)
628
+ p result
629
+ rescue SibApiV3Sdk::ApiError => e
630
+ puts "Exception when calling ResellerApi->get_sso_token: #{e}"
631
+ end
632
+ ```
633
+
634
+ ### Parameters
635
+
636
+ Name | Type | Description | Notes
637
+ ------------- | ------------- | ------------- | -------------
638
+ **child_auth_key** | **String**| auth key of reseller's child |
639
+
640
+ ### Return type
641
+
642
+ [**GetSsoToken**](GetSsoToken.md)
643
+
644
+ ### Authorization
645
+
646
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
647
+
648
+ ### HTTP request headers
649
+
650
+ - **Content-Type**: application/json
651
+ - **Accept**: application/json
652
+
653
+
654
+
418
655
  # **remove_credits**
419
656
  > RemainingCreditModel remove_credits(child_auth_key, remove_credits)
420
657
 
@@ -475,6 +712,68 @@ Name | Type | Description | Notes
475
712
 
476
713
 
477
714
 
715
+ # **update_child_domain**
716
+ > update_child_domain(child_auth_key, domain_name, update_child_domain)
717
+
718
+ Updates the sender domain of reseller's child based on the childAuthKey and domainName passed
719
+
720
+ ### Example
721
+ ```ruby
722
+ # load the gem
723
+ require 'sib-api-v3-sdk'
724
+ # setup authorization
725
+ SibApiV3Sdk.configure do |config|
726
+ # Configure API key authorization: api-key
727
+ config.api_key['api-key'] = 'YOUR API KEY'
728
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
729
+ #config.api_key_prefix['api-key'] = 'Bearer'
730
+
731
+ # Configure API key authorization: partner-key
732
+ config.api_key['partner-key'] = 'YOUR API KEY'
733
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
734
+ #config.api_key_prefix['partner-key'] = 'Bearer'
735
+ end
736
+
737
+ api_instance = SibApiV3Sdk::ResellerApi.new
738
+
739
+ child_auth_key = "child_auth_key_example" # String | auth key of reseller's child
740
+
741
+ domain_name = "domain_name_example" # String | Pass the existing domain that needs to be updated
742
+
743
+ update_child_domain = SibApiV3Sdk::UpdateChildDomain.new # UpdateChildDomain | value to update for sender domain
744
+
745
+
746
+ begin
747
+ #Updates the sender domain of reseller's child based on the childAuthKey and domainName passed
748
+ api_instance.update_child_domain(child_auth_key, domain_name, update_child_domain)
749
+ rescue SibApiV3Sdk::ApiError => e
750
+ puts "Exception when calling ResellerApi->update_child_domain: #{e}"
751
+ end
752
+ ```
753
+
754
+ ### Parameters
755
+
756
+ Name | Type | Description | Notes
757
+ ------------- | ------------- | ------------- | -------------
758
+ **child_auth_key** | **String**| auth key of reseller's child |
759
+ **domain_name** | **String**| Pass the existing domain that needs to be updated |
760
+ **update_child_domain** | [**UpdateChildDomain**](UpdateChildDomain.md)| value to update for sender domain |
761
+
762
+ ### Return type
763
+
764
+ nil (empty response body)
765
+
766
+ ### Authorization
767
+
768
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
769
+
770
+ ### HTTP request headers
771
+
772
+ - **Content-Type**: application/json
773
+ - **Accept**: application/json
774
+
775
+
776
+
478
777
  # **update_reseller_child**
479
778
  > update_reseller_child(child_auth_key, reseller_child)
480
779