Undo a recovery
curl -X POST https://api.subscriby.net/v1/recovery/operations/$OPERATION_ID/revert \
-H "Authorization: Bearer $SUBSCRIBY_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"resource_id": "b73c5f21-9d80-4a6e-8215-4f70ce13a9d6"}'
Inside the undo window (revert_window_ends_at on the operation) a completed recovery can be undone. A channel recovery is undone one swap at a time: resource_id names the resource to put back on its old chat, and every active member is re-admitted there again; the operation reads reverted once its last standing swap is undone. An account relink is undone whole and takes no resource_id: sign-in moves back to the previous account, every browser session is signed out, and a relink_disputed incident opens for support. A bot replacement cannot be undone.
Answers 200 with the operation, its revertible now false. Raises recovery.operation_reverted; a channel undo also moves the resource's place (project.resource.updated with changes.space_id) and an account undo opens the dispute incident (recovery.incident_opened).
Request
- Base URL: https://api.subscriby.net
- URL: https://api.subscriby.net/v1/recovery/operations/{operation}/revert
- Auth: HTTP bearer
Path parameters
The operation, resolved within the ledger by the route binder.
Headers
A key unique to this operation, such as a fresh UUID. The same key replays the original 2xx response for 24 hours (with Idempotent-Replay: true), so a retry after a timeout never repeats the write; the same key with a different body is refused with 409.
Request body
Response
200 with the operation, its undo state updated.
Example response
{
"data": {
"id": "9a4d2e71-5b38-4c6f-8e12-3d7c9b0a5f21",
"kind": "resources",
"kind_label": "Channels and Groups",
"status": "completed",
"status_label": "Completed",
"connector": "telegram",
"project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
"project_name": "Research Premium",
"automatic": true,
"started_at": "2026-09-12T03:19:10Z",
"completed_at": "2026-09-12T03:19:42Z",
"revertible": true,
"revert_window_ends_at": "2026-09-13T03:19:42Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.