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

     1  # ServicesChannelsMembersApi
     2  
     3  All URIs are relative to *https://ip-messaging.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreateMember**](ServicesChannelsMembersApi.md#CreateMember) | **Post** /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members | 
     8  [**DeleteMember**](ServicesChannelsMembersApi.md#DeleteMember) | **Delete** /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid} | 
     9  [**FetchMember**](ServicesChannelsMembersApi.md#FetchMember) | **Get** /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid} | 
    10  [**ListMember**](ServicesChannelsMembersApi.md#ListMember) | **Get** /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members | 
    11  [**UpdateMember**](ServicesChannelsMembersApi.md#UpdateMember) | **Post** /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid} | 
    12  
    13  
    14  
    15  ## CreateMember
    16  
    17  > IpMessagingV1Member CreateMember(ctx, ServiceSidChannelSidoptional)
    18  
    19  
    20  
    21  
    22  
    23  ### Path Parameters
    24  
    25  
    26  Name | Type | Description
    27  ------------- | ------------- | -------------
    28  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    29  **ServiceSid** | **string** | 
    30  **ChannelSid** | **string** | 
    31  
    32  ### Other Parameters
    33  
    34  Other parameters are passed through a pointer to a CreateMemberParams struct
    35  
    36  
    37  Name | Type | Description
    38  ------------- | ------------- | -------------
    39  **Identity** | **string** | 
    40  **RoleSid** | **string** | 
    41  
    42  ### Return type
    43  
    44  [**IpMessagingV1Member**](IpMessagingV1Member.md)
    45  
    46  ### Authorization
    47  
    48  [accountSid_authToken](../README.md#accountSid_authToken)
    49  
    50  ### HTTP request headers
    51  
    52  - **Content-Type**: application/x-www-form-urlencoded
    53  - **Accept**: application/json
    54  
    55  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    56  [[Back to Model list]](../README.md#documentation-for-models)
    57  [[Back to README]](../README.md)
    58  
    59  
    60  ## DeleteMember
    61  
    62  > DeleteMember(ctx, ServiceSidChannelSidSid)
    63  
    64  
    65  
    66  
    67  
    68  ### Path Parameters
    69  
    70  
    71  Name | Type | Description
    72  ------------- | ------------- | -------------
    73  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    74  **ServiceSid** | **string** | 
    75  **ChannelSid** | **string** | 
    76  **Sid** | **string** | 
    77  
    78  ### Other Parameters
    79  
    80  Other parameters are passed through a pointer to a DeleteMemberParams struct
    81  
    82  
    83  Name | Type | Description
    84  ------------- | ------------- | -------------
    85  
    86  ### Return type
    87  
    88   (empty response body)
    89  
    90  ### Authorization
    91  
    92  [accountSid_authToken](../README.md#accountSid_authToken)
    93  
    94  ### HTTP request headers
    95  
    96  - **Content-Type**: Not defined
    97  - **Accept**: Not defined
    98  
    99  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   100  [[Back to Model list]](../README.md#documentation-for-models)
   101  [[Back to README]](../README.md)
   102  
   103  
   104  ## FetchMember
   105  
   106  > IpMessagingV1Member FetchMember(ctx, ServiceSidChannelSidSid)
   107  
   108  
   109  
   110  
   111  
   112  ### Path Parameters
   113  
   114  
   115  Name | Type | Description
   116  ------------- | ------------- | -------------
   117  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   118  **ServiceSid** | **string** | 
   119  **ChannelSid** | **string** | 
   120  **Sid** | **string** | 
   121  
   122  ### Other Parameters
   123  
   124  Other parameters are passed through a pointer to a FetchMemberParams struct
   125  
   126  
   127  Name | Type | Description
   128  ------------- | ------------- | -------------
   129  
   130  ### Return type
   131  
   132  [**IpMessagingV1Member**](IpMessagingV1Member.md)
   133  
   134  ### Authorization
   135  
   136  [accountSid_authToken](../README.md#accountSid_authToken)
   137  
   138  ### HTTP request headers
   139  
   140  - **Content-Type**: Not defined
   141  - **Accept**: application/json
   142  
   143  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   144  [[Back to Model list]](../README.md#documentation-for-models)
   145  [[Back to README]](../README.md)
   146  
   147  
   148  ## ListMember
   149  
   150  > []IpMessagingV1Member ListMember(ctx, ServiceSidChannelSidoptional)
   151  
   152  
   153  
   154  
   155  
   156  ### Path Parameters
   157  
   158  
   159  Name | Type | Description
   160  ------------- | ------------- | -------------
   161  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   162  **ServiceSid** | **string** | 
   163  **ChannelSid** | **string** | 
   164  
   165  ### Other Parameters
   166  
   167  Other parameters are passed through a pointer to a ListMemberParams struct
   168  
   169  
   170  Name | Type | Description
   171  ------------- | ------------- | -------------
   172  **Identity** | **[]string** | 
   173  **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000.
   174  **Limit** | **int** | Max number of records to return.
   175  
   176  ### Return type
   177  
   178  [**[]IpMessagingV1Member**](IpMessagingV1Member.md)
   179  
   180  ### Authorization
   181  
   182  [accountSid_authToken](../README.md#accountSid_authToken)
   183  
   184  ### HTTP request headers
   185  
   186  - **Content-Type**: Not defined
   187  - **Accept**: application/json
   188  
   189  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   190  [[Back to Model list]](../README.md#documentation-for-models)
   191  [[Back to README]](../README.md)
   192  
   193  
   194  ## UpdateMember
   195  
   196  > IpMessagingV1Member UpdateMember(ctx, ServiceSidChannelSidSidoptional)
   197  
   198  
   199  
   200  
   201  
   202  ### Path Parameters
   203  
   204  
   205  Name | Type | Description
   206  ------------- | ------------- | -------------
   207  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   208  **ServiceSid** | **string** | 
   209  **ChannelSid** | **string** | 
   210  **Sid** | **string** | 
   211  
   212  ### Other Parameters
   213  
   214  Other parameters are passed through a pointer to a UpdateMemberParams struct
   215  
   216  
   217  Name | Type | Description
   218  ------------- | ------------- | -------------
   219  **RoleSid** | **string** | 
   220  **LastConsumedMessageIndex** | **int** | 
   221  
   222  ### Return type
   223  
   224  [**IpMessagingV1Member**](IpMessagingV1Member.md)
   225  
   226  ### Authorization
   227  
   228  [accountSid_authToken](../README.md#accountSid_authToken)
   229  
   230  ### HTTP request headers
   231  
   232  - **Content-Type**: application/x-www-form-urlencoded
   233  - **Accept**: application/json
   234  
   235  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   236  [[Back to Model list]](../README.md#documentation-for-models)
   237  [[Back to README]](../README.md)
   238