cURL
curl --request PUT \ --url http://localhost:5300/api/v1/platform/bots/{bot_uuid} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>", "config": {} } '
200
Example
{ "code": 0, "msg": "ok", "data": {} }
Update the configuration of an existing bot instance
API Key authentication using X-API-Key header. Example: X-API-Key: lbk_your_api_key_here
X-API-Key: lbk_your_api_key_here
Bot updated successfully
0
"ok"