Reference
Restore an earlier account setting
Restore an earlier revision of an account's settings; it is saved as a new revision (history is never rewritten).
View MarkdownThis page is generated from the source code on every release.
Restore an earlier revision of an account's settings; it is saved as a new revision (history is never rewritten).
Overview
| Name | Value |
|---|---|
| Code | accounts.rollback_settings |
| Scope needed | accounts.settings |
| Risk | Write |
| May need confirmation | No |
| Runs as | Answers right away |
Needs Idempotency-Key |
No |
| Member roles allowed | owner, manager |
| In the app | Accounts → Settings → Change history → Restore this version |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
accountId |
uuid |
Yes | |
revision |
integer |
Yes | |
expectedRevision |
integer |
No |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/accounts.rollback_settings \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"accountId":"00000000-0000-0000-0000-000000000000","revision":1}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
revision |
null | number |
Yes |
Example answer
{
"data": {
"ok": true,
"revision": 1
}
}Using it over MCP
Not listed on any profile: call tools_describe then tools_run with code: "accounts.rollback_settings". Tool name when listed: accounts_rollback_settings.