Skip to content
Athena User Guide
Esc
↑↓navigate↵open⌘Jpreview

Restore settings through a new versioned operation

A revert that changes game settings or the schedule is accepted only from the organizer panel’s key; an organizer key is refused with 403 for it.

POST/api/admin/config/revert
Authorization
AuthorizationBearer token · headerrequired
Request body
requiredapplication/json
operationIdstringrequired
min length 1 · max length 128
expectedVersionintegerrequired
max 9007199254740991
versionintegerrequired
max 9007199254740991
Responses
200

Success

revertedbooleanrequired
versionnumberrequired
operationIdstringrequired
synchronizedbooleanrequired
401

Unauthorized

Any of:
object
errorstringrequired
object
errorstringrequired
403

Forbidden

errorstringrequired
404

Not found

errorstringrequired
409

Conflict

errorstringrequired
422

Validation failed

typestringrequired
onstringrequired
summarystring
messagestring
foundany
propertystring
expectedstring
500

Unhandled server error

errorstringrequired
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST '/api/admin/config/revert' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "operationId": "string",
  "expectedVersion": 1,
  "version": 1
}'
Response
{
  "reverted": true,
  "version": 0,
  "operationId": "string",
  "synchronized": true
}