Disaster Recovery
Switch a standby's live mirror
curl -X PATCH https://api.subscriby.net/v1/projects/$PROJECT_ID/resources/$RESOURCE_ID/standby \
-H "Authorization: Bearer $SUBSCRIBY_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"mirror": true}'
Switches the live mirror on or off: when on, every post made in the channel is copied into the standby as it is made. Only a channel can be mirrored, and switching on needs the Growth plan. Answers 200 with the standby.
patch/v1/projects/{project}/resources/{resource}/standby
Request
- Base URL: https://api.subscriby.net
- URL: https://api.subscriby.net/v1/projects/{project}/resources/{resource}/standby
- Auth: HTTP bearer
Path parameters
projectstring uuid required
The project, resolved by the route binder.
resourcestring uuid required
The resource, resolved within the project by the route binder.
Headers
Idempotency-Keystring uuid required
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 standby, updated.
Example response
{
"data": {
"resource_id": "b73c5f21-9d80-4a6e-8215-4f70ce13a9d6",
"mirror_enabled": true,
"health_status": "healthy",
"health_status_label": "Healthy",
"health_checked_at": "2026-09-12T02:00:00Z",
"last_mirrored_at": "2026-09-12T01:45:12Z",
"linked_at": "2026-09-01T14:22:09Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.