Skip to main content
PUT
/
api
/
v1
/
platform
/
bots
/
{bot_uuid}
Update a bot
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": {}
}
'
{
  "code": 0,
  "msg": "ok",
  "data": {}
}

Authorizations

X-API-Key
string
header
required

API Key authentication using X-API-Key header. Example: X-API-Key: lbk_your_api_key_here

Path Parameters

bot_uuid
string<uuid>
required

Body

application/json
name
string
config
object

Response

Bot updated successfully

code
integer
Example:

0

msg
string
Example:

"ok"

data
object