Disconnect the org’s bot: its webhook goes, and it stops posting
Disconnects the org's bot: its webhook is removed and it stops posting the burner's cleanups. Needs `integrations.edit`.
/v1/orgs/{orgId}/telegram/botDisconnects the org's bot: its webhook is removed and it stops posting the burner's cleanups. Needs integrations.edit.
A Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
Scope: bnc.write
Path Parameters
The organization's id
^org_[0-9a-hjkmnp-tv-z]{26}$Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/v1/orgs/string/telegram/bot"{ "available": true, "entitled": true, "bot": { "username": "string", "state": "active", "disabledReason": "string", "chat": { "id": 0, "type": "group", "title": "string", "username": "string", "canPost": true, "lastError": "string" }, "connectedAt": "2026-10-21T12:00:00.000Z" }}Delete a custom role, moving its members to another DELETE
Members who hold it get `reassignTo` instead, a role the caller may grant; each change is audited. Without `reassignTo`, only a role nobody holds can go.
Disconnect a Telegram chat from the org DELETE
Disconnects one chat from the org: the bot posts nothing more there. The bot stays in the chat until its admins remove it. Audited. Needs `integrations.edit`.