github.com/twilio/twilio-go@v1.20.1/rest/numbers/v2/docs/RegulatoryComplianceBundlesReplaceItemsApi.md (about)

     1  # RegulatoryComplianceBundlesReplaceItemsApi
     2  
     3  All URIs are relative to *https://numbers.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreateReplaceItems**](RegulatoryComplianceBundlesReplaceItemsApi.md#CreateReplaceItems) | **Post** /v2/RegulatoryCompliance/Bundles/{BundleSid}/ReplaceItems | 
     8  
     9  
    10  
    11  ## CreateReplaceItems
    12  
    13  > NumbersV2ReplaceItems CreateReplaceItems(ctx, BundleSidoptional)
    14  
    15  
    16  
    17  Replaces all bundle items in the target bundle (specified in the path) with all the bundle items of the source bundle (specified by the from_bundle_sid body param)
    18  
    19  ### Path Parameters
    20  
    21  
    22  Name | Type | Description
    23  ------------- | ------------- | -------------
    24  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    25  **BundleSid** | **string** | The unique string that identifies the Bundle where the item assignments are going to be replaced.
    26  
    27  ### Other Parameters
    28  
    29  Other parameters are passed through a pointer to a CreateReplaceItemsParams struct
    30  
    31  
    32  Name | Type | Description
    33  ------------- | ------------- | -------------
    34  **FromBundleSid** | **string** | The source bundle sid to copy the item assignments from.
    35  
    36  ### Return type
    37  
    38  [**NumbersV2ReplaceItems**](NumbersV2ReplaceItems.md)
    39  
    40  ### Authorization
    41  
    42  [accountSid_authToken](../README.md#accountSid_authToken)
    43  
    44  ### HTTP request headers
    45  
    46  - **Content-Type**: application/x-www-form-urlencoded
    47  - **Accept**: application/json
    48  
    49  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    50  [[Back to Model list]](../README.md#documentation-for-models)
    51  [[Back to README]](../README.md)
    52