Skip to content

Latest commit

 

History

History
171 lines (92 loc) · 6.24 KB

Api20100401CredentialListApi.md

File metadata and controls

171 lines (92 loc) · 6.24 KB

\Api20100401CredentialListApi

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

create_sip_credential_list

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList create_sip_credential_list(account_sid, friendly_name)

Create a Credential List

Parameters

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]

Return type

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList

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

delete_sip_credential_list(account_sid, sid)

Delete a Credential List

Parameters

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]

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

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList fetch_sip_credential_list(account_sid, sid)

Get a Credential List

Parameters

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]

Return type

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList

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

crate::models::ListSipCredentialListResponse list_sip_credential_list(account_sid, page_size, page, page_token)

Get All Credential Lists

Parameters

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.

Return type

crate::models::ListSipCredentialListResponse

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]

update_sip_credential_list

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList update_sip_credential_list(account_sid, sid, friendly_name)

Update a Credential List

Parameters

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]

Return type

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipCredentialList

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]