Delete a published version

​

Removes the publication from the history, and with it the diagram and the channel snapshot it filed. Cannot be undone. Does not touch what is live.

The most recent publication cannot be deleted. Publish again and it becomes deletable.

Path Parameters

Responses

  • Deleted. No body.

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for delete/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 DELETE \
  --header 'Authorization: Token YOUR_AGENT_TOKEN'
No Body