Rondo Docs

Revert Actions

POST/api/staff/revert

Undoes everything one staff member did since a time.

Authorization

session
AuthorizationBearer <token>

A Kratos session tokenized as a JWT.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/staff/revert" \  -H "Content-Type: application/json" \  -d '{    "actor_id": "04f37679-bfbf-4906-b749-01756515cecf",    "since": "2019-08-24T14:15:22Z",    "reason": "string"  }'
{  "undone": 0}