provider Api20100401Domain POST /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json
Update the attributes of a domain
Update the attributes of a domain
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the SipDomain resource to update.
string
Sid path required
The Twilio-provided string that uniquely identifies the SipDomain resource to update.
string

Try it

Authentication
Configure credentials for Twilio - Api
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updatesipdomain
POST/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json
Update the attributes of a domain

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the SipDomain resource to update.

required

The Twilio-provided string that uniquely identifies the SipDomain resource to update.

Input

A descriptive string that you created to describe the resource. It can be up to 64 characters long.

The HTTP method we should use to call `voice_fallback_url`. Can be: `GET` or `POST`.

The URL that we should call when an error occurs while retrieving or executing the TwiML requested by `voice_url`.

The HTTP method we should use to call `voice_url`

The HTTP method we should use to call `voice_status_callback_url`. Can be: `GET` or `POST`.

The URL that we should call to pass status parameters (such as call ended) to your application.

The URL we should call when the domain receives a call.

Whether to allow SIP Endpoints to register with the domain to receive calls. Can be `true` or `false`. `true` allows SIP Endpoints to register with the domain to receive calls, `false` does not.

The unique address you reserve on Twilio to which you route your SIP traffic. Domain names can contain letters, digits, and "-" and must end with `sip.twilio.com`.

Whether emergency calling is enabled for the domain. If enabled, allows emergency calls on the domain from phone numbers with validated addresses.

Whether secure SIP is enabled for the domain. If enabled, TLS will be enforced and SRTP will be negotiated on all incoming calls to this sip domain.

The SID of the BYOC Trunk(Bring Your Own Carrier) resource that the Sip Domain will be associated with.

Whether an emergency caller sid is configured for the domain. If present, this phone number will be used as the callback for the emergency call.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.updatesipdomain()