Burn & Claim’s new API is in preview: these pages describe it as it will be at launch.
Burn & Claim Docs

Disconnect a Telegram chat from the org

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`.

DELETE/v1/orgs/{orgId}/telegram/groups/{groupId}

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.

Authorization

AuthorizationBearer <token>

A Synq access token for this API: bnc.read for reads, bnc.write for changes.

In: header

Scope: bnc.write

Path Parameters

orgId*string

The organization's id

Match^org_[0-9a-hjkmnp-tv-z]{26}$
groupId*string

The chat: <botId>.<chatId>

Match^\d{1,20}\.-?\d{1,20}$

Response Body

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/groups/string"
Empty