github.com/twilio/twilio-go@v1.20.1/rest/messaging/v1/docs/LinkShorteningDomainsCertificateApi.md (about)

     1  # LinkShorteningDomainsCertificateApi
     2  
     3  All URIs are relative to *https://messaging.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**DeleteDomainCertV4**](LinkShorteningDomainsCertificateApi.md#DeleteDomainCertV4) | **Delete** /v1/LinkShortening/Domains/{DomainSid}/Certificate | 
     8  [**FetchDomainCertV4**](LinkShorteningDomainsCertificateApi.md#FetchDomainCertV4) | **Get** /v1/LinkShortening/Domains/{DomainSid}/Certificate | 
     9  [**UpdateDomainCertV4**](LinkShorteningDomainsCertificateApi.md#UpdateDomainCertV4) | **Post** /v1/LinkShortening/Domains/{DomainSid}/Certificate | 
    10  
    11  
    12  
    13  ## DeleteDomainCertV4
    14  
    15  > DeleteDomainCertV4(ctx, DomainSid)
    16  
    17  
    18  
    19  
    20  
    21  ### Path Parameters
    22  
    23  
    24  Name | Type | Description
    25  ------------- | ------------- | -------------
    26  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    27  **DomainSid** | **string** | Unique string used to identify the domain that this certificate should be associated with.
    28  
    29  ### Other Parameters
    30  
    31  Other parameters are passed through a pointer to a DeleteDomainCertV4Params struct
    32  
    33  
    34  Name | Type | Description
    35  ------------- | ------------- | -------------
    36  
    37  ### Return type
    38  
    39   (empty response body)
    40  
    41  ### Authorization
    42  
    43  [accountSid_authToken](../README.md#accountSid_authToken)
    44  
    45  ### HTTP request headers
    46  
    47  - **Content-Type**: Not defined
    48  - **Accept**: Not defined
    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  ## FetchDomainCertV4
    56  
    57  > MessagingV1DomainCertV4 FetchDomainCertV4(ctx, DomainSid)
    58  
    59  
    60  
    61  
    62  
    63  ### Path Parameters
    64  
    65  
    66  Name | Type | Description
    67  ------------- | ------------- | -------------
    68  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    69  **DomainSid** | **string** | Unique string used to identify the domain that this certificate should be associated with.
    70  
    71  ### Other Parameters
    72  
    73  Other parameters are passed through a pointer to a FetchDomainCertV4Params struct
    74  
    75  
    76  Name | Type | Description
    77  ------------- | ------------- | -------------
    78  
    79  ### Return type
    80  
    81  [**MessagingV1DomainCertV4**](MessagingV1DomainCertV4.md)
    82  
    83  ### Authorization
    84  
    85  [accountSid_authToken](../README.md#accountSid_authToken)
    86  
    87  ### HTTP request headers
    88  
    89  - **Content-Type**: Not defined
    90  - **Accept**: application/json
    91  
    92  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    93  [[Back to Model list]](../README.md#documentation-for-models)
    94  [[Back to README]](../README.md)
    95  
    96  
    97  ## UpdateDomainCertV4
    98  
    99  > MessagingV1DomainCertV4 UpdateDomainCertV4(ctx, DomainSidoptional)
   100  
   101  
   102  
   103  
   104  
   105  ### Path Parameters
   106  
   107  
   108  Name | Type | Description
   109  ------------- | ------------- | -------------
   110  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   111  **DomainSid** | **string** | Unique string used to identify the domain that this certificate should be associated with.
   112  
   113  ### Other Parameters
   114  
   115  Other parameters are passed through a pointer to a UpdateDomainCertV4Params struct
   116  
   117  
   118  Name | Type | Description
   119  ------------- | ------------- | -------------
   120  **TlsCert** | **string** | Contains the full TLS certificate and private for this domain in PEM format: https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail. Twilio uses this information to process HTTPS traffic sent to your domain.
   121  
   122  ### Return type
   123  
   124  [**MessagingV1DomainCertV4**](MessagingV1DomainCertV4.md)
   125  
   126  ### Authorization
   127  
   128  [accountSid_authToken](../README.md#accountSid_authToken)
   129  
   130  ### HTTP request headers
   131  
   132  - **Content-Type**: application/x-www-form-urlencoded
   133  - **Accept**: application/json
   134  
   135  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   136  [[Back to Model list]](../README.md#documentation-for-models)
   137  [[Back to README]](../README.md)
   138