Move a bot to the trash, or delete it permanently

​

Moves the bot to the trash. It stops serving conversations and a web bot's page comes down, but nothing is destroyed: PATCH with state: active brings it back whole.

?permanent=true destroys it, versions and all. Only works on a bot already in the trash, and cannot be undone.

Path Parameters

Query Parameters

  • Delete irreversibly instead of moving to the trash

Responses

  • Deleted. No body.

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for delete/bots/{bot_id}
curl 'https://api.landbot.io/v0-alpha/bots/123e4567-e89b-12d3-a456-426614174000?permanent=false' \
  --request DELETE \
  --header 'Authorization: Token YOUR_AGENT_TOKEN'
No Body