Tropo is part of CiscoLearn More

PUT /applications/:id

Updates an existing application.

Request

PUT https://api.tropo.eu/v1/applications/:id

Headers

This request must be authenticated with HTTP Basic authentication using your Tropo account credentials. Setting your content-type to application/json is required.

Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l
Content-Type: application/json

Body

  {
    "name": "Naughty or Nice",
  }

Fields included in the request will update the application with the contents of those fields. Leaving a field out will leave that field unchanged.

Possible Fields

name
The name of the application.
voiceUrl
The URL that powers voice calls for your application. Either voiceUrl or messagingUrl must be set.
messagingUrl
The URL that powers SMS/messaging calls for your application. Either voiceUrl or messagingUrl must be set.
environment
A URL to the Environment this application is running under, indicating if it's Production or Development (or possibly a special environment). As a convenience, you may include just the Environment ID instead of the full Environment resource URL if you wish.
apiType
Either scripting or webapi, indicates which type of application this is. Case-insensitive, defaults to "scripting".

Response

Returns the URL to the updated Application Resource.

{
    "href": "https://api.tropo.com/rest/v1/applications/5068415"
}