All URIs are relative to https://api.twilio.com
Method | HTTP request | Description |
---|---|---|
CreateSipCredentialList | Post /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json | |
DeleteSipCredentialList | Delete /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json | |
FetchSipCredentialList | Get /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json | |
ListSipCredentialList | Get /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json | |
UpdateSipCredentialList | Post /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json |
ApiV2010SipCredentialList CreateSipCredentialList(ctx, optional)
Create a Credential List
This endpoint does not need any path parameter.
Other parameters are passed through a pointer to a CreateSipCredentialListParams struct
Name | Type | Description |
---|---|---|
PathAccountSid | string | The unique id of the Account that is responsible for this resource. |
FriendlyName | string | A human readable descriptive text that describes the CredentialList, up to 64 characters long. |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteSipCredentialList(ctx, Sidoptional)
Delete a Credential List
Name | Type | Description |
---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. |
Sid | string | The credential list Sid that uniquely identifies this resource |
Other parameters are passed through a pointer to a DeleteSipCredentialListParams struct
Name | Type | Description |
---|---|---|
PathAccountSid | string | The unique id of the Account that is responsible for this resource. |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV2010SipCredentialList FetchSipCredentialList(ctx, Sidoptional)
Get a Credential List
Name | Type | Description |
---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. |
Sid | string | The credential list Sid that uniquely identifies this resource |
Other parameters are passed through a pointer to a FetchSipCredentialListParams struct
Name | Type | Description |
---|---|---|
PathAccountSid | string | The unique id of the Account that is responsible for this resource. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ApiV2010SipCredentialList ListSipCredentialList(ctx, optional)
Get All Credential Lists
This endpoint does not need any path parameter.
Other parameters are passed through a pointer to a ListSipCredentialListParams struct
Name | Type | Description |
---|---|---|
PathAccountSid | string | The unique id of the Account that is responsible for this resource. |
PageSize | int | How many resources to return in each list page. The default is 50, and the maximum is 1000. |
Limit | int | Max number of records to return. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV2010SipCredentialList UpdateSipCredentialList(ctx, Sidoptional)
Update a Credential List
Name | Type | Description |
---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. |
Sid | string | The credential list Sid that uniquely identifies this resource |
Other parameters are passed through a pointer to a UpdateSipCredentialListParams struct
Name | Type | Description |
---|---|---|
PathAccountSid | string | The unique id of the Account that is responsible for this resource. |
FriendlyName | string | A human readable descriptive text for a CredentialList, up to 64 characters long. |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]