v7

OpenAPI 3.1.0raw.githubusercontent.com2026-06-2200251.9 KB
Policy Versions

Fetch a specific revision of a policy.

Returns the full policy JSON as it existed at the given revision. The response shape is identical to GET /api/policies/{policyName}. Admins may fetch another user's revision via the owner parameter.

get/api/policies/{policyName}/versions/{revision}

Path parameters

policyNamestring required
revisioninteger required

Query parameters

ownerstring

Headers

Authorizationstring required

Response

Full policy JSON at the requested revision.

string required