Skip to Content
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
/accounts/{account_id}/policy-history/{revision_id}/restore

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.

Authorization

headerAuthorizationBearer <token>

qlt_… Access token (kind api)

Path Parameters

account_id*string
revision_id*string

Response Body

Restored

application/json
  1. response
restored?string
left_out?array<string>
Example Request
curl -X POST 'https://tiltas.openpanel.sh/api/v1/accounts/string/policy-history/string/restore'
Example Response
{  "restored": "string",  "left_out": [    "string"  ]}