All URIs are relative to https://api.twilio.com
Method | HTTP request | Description |
---|---|---|
delete_outgoing_caller_id | DELETE /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json | |
fetch_outgoing_caller_id | GET /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json | |
list_outgoing_caller_id | GET /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json | |
update_outgoing_caller_id | POST /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json |
delete_outgoing_caller_id(account_sid, sid)
Delete the caller-id specified from the account
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the OutgoingCallerId resources to delete. | [required] | |
sid | String | The Twilio-provided string that uniquely identifies the OutgoingCallerId 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::ApiPeriodV2010PeriodAccountPeriodOutgoingCallerId fetch_outgoing_caller_id(account_sid, sid)
Fetch an outgoing-caller-id belonging to the account used to make the request
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the OutgoingCallerId resource to fetch. | [required] | |
sid | String | The Twilio-provided string that uniquely identifies the OutgoingCallerId resource to fetch. | [required] |
crate::models::ApiPeriodV2010PeriodAccountPeriodOutgoingCallerId
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ListOutgoingCallerIdResponse list_outgoing_caller_id(account_sid, phone_number, friendly_name, page_size, page, page_token)
Retrieve a list of outgoing-caller-ids belonging to the account used to make the request
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the OutgoingCallerId resources to read. | [required] | |
phone_number | Option<String> | The phone number of the OutgoingCallerId resources to read. | ||
friendly_name | Option<String> | The string that identifies the OutgoingCallerId resources to read. | ||
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::ListOutgoingCallerIdResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ApiPeriodV2010PeriodAccountPeriodOutgoingCallerId update_outgoing_caller_id(account_sid, sid, friendly_name)
Updates the caller-id
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the OutgoingCallerId resources to update. | [required] | |
sid | String | The Twilio-provided string that uniquely identifies the OutgoingCallerId resource to update. | [required] | |
friendly_name | Option<String> | A descriptive string that you create to describe the resource. It can be up to 64 characters long. |
crate::models::ApiPeriodV2010PeriodAccountPeriodOutgoingCallerId
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]