All URIs are relative to https://api.twilio.com
Method | HTTP request | Description |
---|---|---|
create_sip_credential_list | POST /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json | |
delete_sip_credential_list | DELETE /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json | |
fetch_sip_credential_list | GET /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json | |
list_sip_credential_list | GET /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json | |
update_sip_credential_list | POST /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json |
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList create_sip_credential_list(account_sid, friendly_name)
Create a Credential List
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The unique id of the Account that is responsible for this resource. | [required] | |
friendly_name | String | A human readable descriptive text that describes the CredentialList, up to 64 characters long. | [required] |
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_sip_credential_list(account_sid, sid)
Delete a Credential List
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The unique id of the Account that is responsible for this resource. | [required] | |
sid | String | The credential list Sid that uniquely identifies this resource | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList fetch_sip_credential_list(account_sid, sid)
Get a Credential List
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The unique id of the Account that is responsible for this resource. | [required] | |
sid | String | The credential list Sid that uniquely identifies this resource | [required] |
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ListSipCredentialListResponse list_sip_credential_list(account_sid, page_size, page, page_token)
Get All Credential Lists
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The unique id of the Account that is responsible for this resource. | [required] | |
page_size | Option<i32> | How many resources to return in each list page. The default is 50, and the maximum is 1000. | ||
page | Option<i32> | The page index. This value is simply for client state. | ||
page_token | Option<String> | The page token. This is provided by the API. |
crate::models::ListSipCredentialListResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList update_sip_credential_list(account_sid, sid, friendly_name)
Update a Credential List
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The unique id of the Account that is responsible for this resource. | [required] | |
sid | String | The credential list Sid that uniquely identifies this resource | [required] | |
friendly_name | String | A human readable descriptive text for a CredentialList, up to 64 characters long. | [required] |
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]