Skip to main content
PUT
/
bot
/
{id}
/
version
/
{version}
Update a bot version
curl --request PUT \
  --url https://api.closebot.com/bot/{id}/version/{version} \
  --header 'Content-Type: application/json' \
  --header 'X-CB-KEY: <api-key>' \
  --data '
{
  "name": "<string>",
  "importKdl": "<string>"
}
'

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

id
string
required

The bot ID.

version
string
required

The version ID.

Body

name
string | null

The name of the bot version

importKdl
string | null

The KDL import for the bot version

Response

200

Success