Skip to main content

Update a Domain Application

PUT 

/domain_applications/:id

Updates the specific domain application by setting the values of any parameters passed in. Any parameters not provided will be unchanged.

Permissions

The API token must include the following scopes: Voice.

Request

Path Parameters

    id uuidrequired

    Unique ID of the domain application

Body

required

    oneOf

    call_handlerstring

    Specifies that this domain application uses a Relay topic handler

    Possible values: [relay_topic]

    call_relay_topicstring

    A string representing the Relay topic to forward incoming calls to.

    Example: office
    call_relay_topic_status_callback_urlstring

    A string representing a URL to send status change messages to.

    Example: https://myapplication/handle_relay_callbacks
    namestring

    A string representing the friendly name for this domain application.

    Example: Test App
    identifierstring

    A string representing the identifier portion of the domain application. Must be unique across your project. Must be letters, numbers, and dash only.

    Example: test-id
    ip_auth_enabledboolean

    Whether the domain application will enforce IP authentication for incoming requests.

    Example: true
    ip_authstring[]

    A list containing whitelisted IP addresses and IP blocks used if ip_auth_enabled is true.

    Example: ["8.8.8.8","4.4.4.4"]
    encryptionstring

    A string representing whether connections to this domain application require encryption or if encryption is optional. Encryption will always be used if possible. Valid values are optional and required.

    Example: required
    codecsstring[]

    A list of codecs this domain application will support. Currently supported values are OPUS, G722, PCMU, PCMA, VP8, and H264. At least one value must be supplied.

    Example: ["PCMU","PCMA"]
    ciphersstring[]

    A list of encryption ciphers this domain application will support. Currently supported values are AEAD_AES_256_GCM_8, AES_256_CM_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_80, AES_256_CM_HMAC_SHA1_32, and AES_CM_128_HMAC_SHA1_32. At least one value must be supplied.

    Example: ["AEAD_AES_256_GCM_8"]

Responses

OK

Schema

    links

    object

    selfstring
    firststring
    nextstring
    prevstring
    dataobject[]