v7

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

Diff two revisions of a policy.

Returns an RFC 6902 JSON Patch array describing what changed between the 'from' revision and the 'to' revision. If from and to are omitted, the two most recent retained revisions are compared. Object-level changes (adds, removes, replaces) are reported per field path; array values that differ are reported as a single replace at the array path. Admins may diff another user's policy via owner.

get/api/policies/{policyName}/diff

Path parameters

policyNamestring required

Query parameters

frominteger
tointeger
ownerstring

Headers

Authorizationstring required

Response

Diff envelope containing the compared revision numbers and an RFC 6902 changes array.

string required