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

     1  # RegulatoryComplianceBundlesCopiesApi
     2  
     3  All URIs are relative to *https://numbers.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreateBundleCopy**](RegulatoryComplianceBundlesCopiesApi.md#CreateBundleCopy) | **Post** /v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies | 
     8  [**ListBundleCopy**](RegulatoryComplianceBundlesCopiesApi.md#ListBundleCopy) | **Get** /v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies | 
     9  
    10  
    11  
    12  ## CreateBundleCopy
    13  
    14  > NumbersV2BundleCopy CreateBundleCopy(ctx, BundleSidoptional)
    15  
    16  
    17  
    18  Creates a new copy of a Bundle. It will internally create copies of all the bundle items (identities and documents) of the original bundle
    19  
    20  ### Path Parameters
    21  
    22  
    23  Name | Type | Description
    24  ------------- | ------------- | -------------
    25  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    26  **BundleSid** | **string** | The unique string that identifies the Bundle to be copied.
    27  
    28  ### Other Parameters
    29  
    30  Other parameters are passed through a pointer to a CreateBundleCopyParams struct
    31  
    32  
    33  Name | Type | Description
    34  ------------- | ------------- | -------------
    35  **FriendlyName** | **string** | The string that you assigned to describe the copied bundle.
    36  
    37  ### Return type
    38  
    39  [**NumbersV2BundleCopy**](NumbersV2BundleCopy.md)
    40  
    41  ### Authorization
    42  
    43  [accountSid_authToken](../README.md#accountSid_authToken)
    44  
    45  ### HTTP request headers
    46  
    47  - **Content-Type**: application/x-www-form-urlencoded
    48  - **Accept**: application/json
    49  
    50  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    51  [[Back to Model list]](../README.md#documentation-for-models)
    52  [[Back to README]](../README.md)
    53  
    54  
    55  ## ListBundleCopy
    56  
    57  > []NumbersV2BundleCopy ListBundleCopy(ctx, BundleSidoptional)
    58  
    59  
    60  
    61  Retrieve a list of all Bundles Copies for a Bundle.
    62  
    63  ### Path Parameters
    64  
    65  
    66  Name | Type | Description
    67  ------------- | ------------- | -------------
    68  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    69  **BundleSid** | **string** | The unique string that we created to identify the Bundle resource.
    70  
    71  ### Other Parameters
    72  
    73  Other parameters are passed through a pointer to a ListBundleCopyParams struct
    74  
    75  
    76  Name | Type | Description
    77  ------------- | ------------- | -------------
    78  **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000.
    79  **Limit** | **int** | Max number of records to return.
    80  
    81  ### Return type
    82  
    83  [**[]NumbersV2BundleCopy**](NumbersV2BundleCopy.md)
    84  
    85  ### Authorization
    86  
    87  [accountSid_authToken](../README.md#accountSid_authToken)
    88  
    89  ### HTTP request headers
    90  
    91  - **Content-Type**: Not defined
    92  - **Accept**: application/json
    93  
    94  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    95  [[Back to Model list]](../README.md#documentation-for-models)
    96  [[Back to README]](../README.md)
    97