Update SIP address
Changed onPartially updates a standalone SIP Address by ID; omitted fields retain their current values. Use it to change the URI name, Domain, registration password, media, encryption, or IP-authentication settings. calling_handler_resource_id cannot be changed through this operation. SIP Credentials and generic resource addresses have separate management endpoints.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Calling, Fax, Messaging, or Video.
Learn more about API scopes.
Request
- Base URLhttps://{Your_Space_Name}.signalwire.com
- URLhttps://{Your_Space_Name}.signalwire.com/api/fabric/sip_addresses/{id}
- AuthHTTP basic
Path parameters
Universal Unique Identifier.
Unique ID of a SIP Address.
Request body
Example request
{
"name": "renamed-line",
"user": "agent",
"ip_auth_enabled": true,
"ip_auth": [
"10.0.0.0/24"
],
"codecs": [
"OPUS"
],
"ciphers": [
"AES_256_CM_HMAC_SHA1_80"
],
"password": "sup3r-s3cret"
}Response
The request has succeeded.
Example response
{
"type": "sip",
"name": "support-line",
"display_name": "support-line",
"context": "public",
"uri": "sip:my-space-support-line@sip.signalwire.com",
"user": "*",
"codecs": [
"PCMU",
"PCMA"
],
"ciphers": [
"AEAD_AES_256_GCM_8",
"AES_256_CM_HMAC_SHA1_80",
"AES_CM_128_HMAC_SHA1_80",
"AES_256_CM_HMAC_SHA1_32",
"AES_CM_128_HMAC_SHA1_32"
],
"ip_auth": [],
"created_at": "2024-05-06T12:20:00Z",
"updated_at": "2024-05-06T12:20:00Z"
}Changes
- warning
added the new
sipenum value to theresponse property for the response status - info
removed the
sip_addressenum value from theresponse property for the response status
- warning
- info
endpoint added
- info
Some revisions have not been checked yet.