Skip to main content
DELETE
Remove bot
Auth: TokenAccount or TokenInstanceRate limit: Global (100/min) • Idempotent: yes

Description

Removes Typebot bots from the instance and re-syncs the remaining list. Pass ?botId= to remove a single bot; without botId, all the instance’s bots are removed and the integration is disconnected. When no bot is left, the integration is deactivated and the local link is deleted.
Calling DELETE /api/typebot/delete/:instance without ?botId= removes every bot of the instance and disconnects the integration. Provide ?botId= when you only want to remove one.
The re-sync is best-effort: if it fails, the server only logs a warning and the bot removal remains valid (the local rows were already deleted). That’s why this endpoint does not expose integration errors in its return.

Example

Remove a single bot
Remove all bots of the instance

Success response

200 OK

Path parameters

string
required
Instance name (e.g., suporte).

Query parameters

string
UUID of a single bot to remove, obtained from GET /api/typebot/list/:instance. Omitted, all the instance’s bots are removed and the integration is disconnected.

Headers

string
required
TokenAccount or TokenInstance.

Behavior

1

Remove the local bot(s)

Deletes the matching row(s) from the typebot_bots table. With ?botId=, only that bot; without it, all of them.
2

Re-sync the remaining bots (60s timeout)

RyzeAPI recomputes the list of bots and (re)activates the integration. A failure here is only logged as a warning, it does not revert the removal.
3

Deactivate if none is left

When no bot remains, the integration is deactivated and the link in typebot_integrations is deleted.

Errors

Next

List bots

Check which bots are still registered on the instance.

Create bot

Recreate or add a bot with POST /api/typebot/set/:instance.