Versions

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.

patch/bots/{bot_id}/versions/{version_id}

Request

  • Base URL: https://api.landbot.io/v0-alpha
  • URL: https://api.landbot.io/v0-alpha/bots/{bot_id}/versions/{version_id}
  • Auth: one of:
    • API key in header Authorization
    • API key in cookie sessionid
    • HTTP bearer

Request body

namestring nullable required

Send null to remove the label.

Response

The version after the change

Example response

{
  "data": {
    "published_at": "2026-09-16T09:18:19"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.