Roll back a policy to a previous version
POST/v1/policies/:id/rollback
Restores a policy to the state captured in a prior version. This is non-destructive: it creates a NEW version entry rather than deleting history. Returns the updated policy.
Request
Responses
- 200
- 400
- 404
The policy after rollback.
Invalid policy ID, missing/invalid version_id.
Policy version not found or not owned by tenant.