curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.example.com/api/admin/sites/{id}/config/rollback' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"version": 1,
"config": {},
"publishedAt": "2026-08-31T14:22:05Z"
}
Roll back to a version
Body: .
POST
/
api
/
admin
/
sites
/
{id}
/
config
/
rollback
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.example.com/api/admin/sites/{id}/config/rollback' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"version": 1,
"config": {},
"publishedAt": "2026-08-31T14:22:05Z"
}
Body:
{ version }.
Path parameters
Request body
No request body.Response
object
Status codes
| Code | Meaning |
|---|---|
200 | The restored config |
400 | Error |
401 | Error |
404 | Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.example.com/api/admin/sites/{id}/config/rollback' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"version": 1,
"config": {},
"publishedAt": "2026-08-31T14:22:05Z"
}
Last modified on November 13, 2026