Skip to main content

Update an CXML Application

POST 

/Accounts/:AccountSid/LamlBins/:Sid

To update an XML Bin, make a PUT request to the CXML Application resource. Use the unique ID that was returned from your previous request to identify the specific instance. Only parameters passed in will be updated, others will be ignored.

Permissions

The API token must include one of the following scopes: Voice or Messaging or Fax.

Request

Path Parameters

    AccountSid uuidrequired

    The unique identifier for the account this Bin is associated with.

    Sid uuidrequired

    The unique identifier of the XML Bin on SignalWire. This can be used to show, update, or delete the Bin programmatically.

Body

required

    Name stringrequired

    A friendly name given to the CXML Application to help distinguish and search for different applications within your project.

    Contents string

    The contents of the CXML applications, this evaluate to valid XML, with additional support for mustache templating.

Responses

OK

Schema

    sid uuid

    The unique identifier of the CXML Application on SignalWire. This can be used to show, update, or delete the Bin programmatically.

    date_created string

    The date and time, in ISO 8601 format, the Bin was created.

    date_updated string

    The date and time, in ISO 8601 format, the Bin was updated.

    date_last_accessed string

    The date and time, in ISO 8601 format, the Bin was last accessed.

    account_sid string

    The unique identifier for the account this Bin is associated with.

    name string

    A friendly name given to the CXML Application to help distinguish and search for different applications within your project.

    contents string

    The contents of the CXML applications, this evaluate to valid XML, with additional support for mustache templating.

    request_url string

    The unique URL to the raw contents of the CXML Application. Use this as the URL for configuring webhooks or anything needing the XML returned.

    api_version string

    The version of the SignalWire API.

    uri string

    The URL of this resource.

Loading...