Skip to main content
PUT
/
api
/
v1
/
platform
/
bots
/
{bot_uuid}
更新机器人
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>",
  "adapter": "<string>",
  "config": {}
}
'
{
  "code": 0
}

Authorizations

X-API-Key
string
header
required

Path Parameters

bot_uuid
string<uuid>
required

Body

application/json
name
string
adapter
string
config
object

Response

200 - application/json

操作成功

code
integer
Example:

0