All URIs are relative to https://api.twilio.com
Method | HTTP request | Description |
---|---|---|
create_sip_credential_list_mapping | POST /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings.json | |
delete_sip_credential_list_mapping | DELETE /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings/{Sid}.json | |
fetch_sip_credential_list_mapping | GET /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings/{Sid}.json | |
list_sip_credential_list_mapping | GET /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings.json |
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipCredentialListMapping create_sip_credential_list_mapping(account_sid, domain_sid, credential_list_sid)
Create a CredentialListMapping resource for an account.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The unique id of the Account responsible for this resource. | [required] | |
domain_sid | String | A 34 character string that uniquely identifies the SIP Domain for which the CredentialList resource will be mapped. | [required] | |
credential_list_sid | String | A 34 character string that uniquely identifies the CredentialList resource to map to the SIP domain. | [required] |
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipCredentialListMapping
- 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_mapping(account_sid, domain_sid, sid)
Delete a CredentialListMapping resource from an account.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The unique id of the Account responsible for this resource. | [required] | |
domain_sid | String | A 34 character string that uniquely identifies the SIP Domain that includes the resource to delete. | [required] | |
sid | String | A 34 character string that uniquely identifies the resource to delete. | [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::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipCredentialListMapping fetch_sip_credential_list_mapping(account_sid, domain_sid, sid)
Fetch a single CredentialListMapping resource from an account.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The unique id of the Account responsible for this resource. | [required] | |
domain_sid | String | A 34 character string that uniquely identifies the SIP Domain that includes the resource to fetch. | [required] | |
sid | String | A 34 character string that uniquely identifies the resource to fetch. | [required] |
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipCredentialListMapping
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ListSipCredentialListMappingResponse list_sip_credential_list_mapping(account_sid, domain_sid, page_size, page, page_token)
Read multiple CredentialListMapping resources from an account.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The unique id of the Account responsible for this resource. | [required] | |
domain_sid | String | A 34 character string that uniquely identifies the SIP Domain that includes the resource to read. | [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::ListSipCredentialListMappingResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]