Access
Restore Policy Revision
Admins. Puts the revision's policy back, through the same checks as any change (the cell enforces it, or nothing is saved). References to Devices, Members and Services that are gone are left out; a rule with nothing left on one side is dropped and listed in left_out. Audit event `policy.restored`; the restore is itself a new revision.
POST
Admins. Puts the revision's policy back, through the same checks as any change (the cell enforces it, or nothing is saved). References to Devices, Members and Services that are gone are left out; a rule with nothing left on one side is dropped and listed in left_out. Audit event policy.restored; the restore is itself a new revision.
header
AuthorizationBearer <token>qlt_… Access token (kind api)
account_id*stringrevision_id*stringRestored
application/json- response
restored?stringleft_out?array<string>curl -X POST 'https://tiltas.openpanel.sh/api/v1/accounts/string/policy-history/string/restore'Example Response
{ "restored": "string", "left_out": [ "string" ]}