Skip to content

Latest commit

 

History

History
142 lines (78 loc) · 6.25 KB

Api20100401CredentialListMappingApi.md

File metadata and controls

142 lines (78 loc) · 6.25 KB

\Api20100401CredentialListMappingApi

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

create_sip_credential_list_mapping

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipCredentialListMapping create_sip_credential_list_mapping(account_sid, domain_sid, credential_list_sid)

Create a CredentialListMapping resource for an account.

Parameters

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]

Return type

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipCredentialListMapping

Authorization

accountSid_authToken

HTTP request headers

  • 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

delete_sip_credential_list_mapping(account_sid, domain_sid, sid)

Delete a CredentialListMapping resource from an account.

Parameters

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]

Return type

(empty response body)

Authorization

accountSid_authToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

fetch_sip_credential_list_mapping

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipCredentialListMapping fetch_sip_credential_list_mapping(account_sid, domain_sid, sid)

Fetch a single CredentialListMapping resource from an account.

Parameters

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]

Return type

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipCredentialListMapping

Authorization

accountSid_authToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_sip_credential_list_mapping

crate::models::ListSipCredentialListMappingResponse list_sip_credential_list_mapping(account_sid, domain_sid, page_size, page, page_token)

Read multiple CredentialListMapping resources from an account.

Parameters

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.

Return type

crate::models::ListSipCredentialListMappingResponse

Authorization

accountSid_authToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]