Update a bot

Updated name for the bot, which must be unique to the channel.

Resource URL:

PUT https://api.essential.to/bots/v1/update/{bot_sid}

Resource information:

Response formatJSON
Requires authentication?Yes

Parameters:

name
required

Updated bot name.

Sample code:

curl -X PUT \
 -u '[SID]:[TOKEN]' \
 -H 'Content-Type: application/json' \
 'https://api.essential.to/bots/v1/update/M023pJRT9yNmt-5RjTQBwQ' \
 -d '{"name":"New Sample bot"}'

# Sample response
{
  "name": "New Sample bot",
  "deployed": false,
  "created_at": "2017-02-22T22:18:10.000Z",
  "updated_at": "2017-02-22T22:33:15.893Z",
  "provisioned": true,
  "sid": "M023pJRT9yNmt-5RjTQBwQ",
  "channel_sids": [
    "Mc0bsmU9h7kn9h9UJVwg3Q"
  ]
}
Python coming soon.
Node coming soon.