Skip to Content
Access

Get Policy Revision

Admins. One revision with its full snapshot.

GET
/accounts/{account_id}/policy-history/{revision_id}

Admins. One revision with its full snapshot.

Authorization

headerAuthorizationBearer <token>

qlt_… Access token (kind api)

Path Parameters

account_id*string
revision_id*string

Response Body

OK

application/json
  1. response
id*string
at*string
Formatdate-time
actor*

as in audit events: member, access_token, partner or system

reason*string

the route that made the change (such as PATCH /api/v1/accounts/{account_id}/access-rules/{rule_id}), or baseline

summary*
snapshot?

only when one revision is read: groups, access_rules (with service_id for Service sharing), ssh_rules

Example Request
curl -X GET 'https://tiltas.openpanel.sh/api/v1/accounts/string/policy-history/string'
Example Response
{  "id": "string",  "at": "2019-08-24T14:15:22Z",  "actor": {},  "reason": "string",  "summary": {    "groups": 0,    "access_rules": 0,    "ssh_rules": 0  },  "snapshot": {}}