Label a published version
The label is the only thing about a version you can change. name is required; send null to take a
label off. An empty string is refused.
Answers the publication without its diagram. Nothing the bot is serving changes.
Path Parameters
- Type: stringFormat: uuidbot
_id required - Type: stringFormat: uuidversion
_id required
Body·
required
application/json
- Type: string | nullnamemax length:50required
Send
nullto remove the label.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for patch/bots/{bot_id}/versions/{version_id}
curl https://api.landbot.io/v0-alpha/bots/123e4567-e89b-12d3-a456-426614174000/versions/123e4567-e89b-12d3-a456-426614174000 \
--request PATCH \
--header 'Content-Type: application/json' \
--header 'Authorization: Token YOUR_AGENT_TOKEN' \
--data '{
"name": null
}'
{
"data": {
"version_id": "123e4567-e89b-12d3-a456-426614174000",
"bot_id": "123e4567-e89b-12d3-a456-426614174000",
"name": null,
"published_at": "2026-09-16T09:18:19",
"published_by": {
"id": 1,
"name": "string"
}
}
}