v8

OpenAPI 3.1.0raw.githubusercontent.com2026-08-034690258.3 KB
Policy Versions

Roll back a policy to a prior revision.

Restores the content of the specified revision as a new head revision, preserving the full history. The live policy is updated with the prior content and its revision counter is incremented. The rollback is audited. Admins may roll back another user's policy via the owner parameter.

post/api/policies/{policyName}/rollback

Path parameters

policyNamestring required

Query parameters

revisioninteger required
ownerstring

Headers

Authorizationstring required

Response

Rollback succeeded. Body contains the new revision number.

revisioninteger