Update a cXML Script
Changes the name or stored cXML document of a LamlBin by SID. The change is also visible through Update cXML Script, because both operations manage the same script; server-backed cXML Webhooks are separate resources.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice or Messaging or Fax.
Learn more about API scopes.
Path parameters
Universal Unique Identifier.
The unique identifier for the account this script is associated with.
Universal Unique Identifier.
The unique identifier of the cXML script.
Response
The request has succeeded.
Example response
{
"date_created": "2019-11-26T20:00:00Z",
"date_updated": "2019-11-26T20:00:00Z",
"date_last_accessed": "2020-06-05T20:00:00Z",
"name": "Death Star IVR",
"contents": "<Response><Say>Hello!</Say></Response>",
"request_url": "https://example.signalwire.com/laml-bins/5184b831-184f-4209-872d-ccdccc80f2f1",
"num_requests": 42,
"api_version": "2010-04-01",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1"
}Changes
Changed in 9 of the 40 revisions of this API.1029
- ▲
the
account_sidresponse's property type/format changed fromstring/uuidto/for status200response-property-type-changed
- ▲
the
sidresponse's property type/format changed fromstring/uuidto/for status200response-property-type-changed
- ○
added
uuidto theaccount_sidresponse propertyallOflist for the response status200response-property-all-of-added
- ○
added
uuidto thesidresponse propertyallOflist for the response status200response-property-all-of-added
- ▲
- ▲
added 'unevaluatedProperties' constraint to the request body
request-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
200response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
400response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
401response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
404response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
422response-body-unevaluated-properties-added
- ▲
- ▲
response property
date_last_accessedlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
- ○
api tag
CXML Scriptsaddedapi-tag-added
- ○
api tag
cXML Scriptsremovedapi-tag-removed
- ○
- ○
api operation id
update_cxml_applicationremoved and replaced withupdate_cxml_scriptapi-operation-id-removed
- ○
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
- ▲
the
Namerequest property's minLength was increased from0to1request-property-min-length-increased
- ▲
the response property
date_last_accessedbecame nullable for the status200response-property-became-nullable
- ○
api tag
cXML Scriptsaddedapi-tag-added
- ○
api tag
cXML Binsremovedapi-tag-removed
- ○
added the non-success response with the status
422response-non-success-status-added
- ○
the response property
account_sidbecame required for the status200response-property-became-required
- ○
the response property
api_versionbecame required for the status200response-property-became-required
- ○
the response property
contentsbecame required for the status200response-property-became-required
- ○
the response property
date_createdbecame required for the status200response-property-became-required
- ○
the response property
date_last_accessedbecame required for the status200response-property-became-required
- ○
the response property
date_updatedbecame required for the status200response-property-became-required
- ○
the response property
namebecame required for the status200response-property-became-required
- ○
the response property
request_urlbecame required for the status200response-property-became-required
- ○
the response property
sidbecame required for the status200response-property-became-required
- ○
the response property
uribecame required for the status200response-property-became-required
- ○
added the required property
num_requeststo the response with the200statusresponse-required-property-added
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed the media type
application/jsonfrom the request bodyrequest-body-media-type-removed
- ○
added the media type
application/x-www-form-urlencodedto the request bodyrequest-body-media-type-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added the new path request parameter
AccountSidnew-request-path-parameter
- ▲
added the new path request parameter
Sidnew-request-path-parameter
- ▲
removed the media type
application/x-www-form-urlencodedfrom the request bodyrequest-body-media-type-removed
- ○
added the media type
application/jsonto the request bodyrequest-body-media-type-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲