Reference
Remove account
Remove the account: logs out of Telegram (when possible), frees the proxy; history is kept 30 days. The result says whether the Telegram logout is still pending.
View MarkdownThis page is generated from the source code on every release.
Remove the account: logs out of Telegram (when possible), frees the proxy; history is kept 30 days. The result says whether the Telegram logout is still pending.
Overview
| Name | Value |
|---|---|
| Code | accounts.remove |
| Scope needed | accounts.manage |
| Risk | Dangerous |
| May need confirmation | Yes |
| Runs as | Answers right away |
Needs Idempotency-Key |
No |
| Member roles allowed | owner, manager |
| In the app | Accounts → Remove |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
accountId |
uuid |
Yes |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/accounts.remove \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"accountId":"00000000-0000-0000-0000-000000000000"}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
pending |
true/false |
Yes |
telegramLogout |
"queued" | "not_needed" | "not_queued" |
Yes |
Example answer
{
"data": {
"ok": true,
"pending": true,
"telegramLogout": "queued"
}
}Using it over MCP
Not listed on any profile: call tools_describe then tools_run with code: "accounts.remove". Tool name when listed: accounts_remove.