Requires Pro or Team plan.
Request
git revert).
Path parameters
Body
Example
Response
Authorization
- Personal configs: only the owner can rollback
- Team configs: requires owner or admin role
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
POST /api/configs/:id/rollback
POST /api/configs/:id/rollback
git revert).
| Parameter | Type | Description |
|---|---|---|
id | string | Config UUID |
{
"versionId": "version-uuid-to-rollback-to"
}
| Field | Type | Required | Description |
|---|---|---|---|
versionId | string | Yes | UUID of the version to rollback to |
curl -X POST https://lazyraccoon.dev/api/configs/config-uuid/rollback \
-H "Authorization: Bearer lr_your_key" \
-H "Content-Type: application/json" \
-d '{"versionId": "version-uuid"}'
{
"id": "new-version-uuid",
"version": 4,
"hash": "def456...",
"createdAt": "2026-03-13T12:00:00.000Z",
"isCurrent": true
}