Test a single policy in isolation
POST/v1/policies/:id/test
Evaluates one policy against the provided subject/resource/action input in isolation — no priority resolution, no deny-override, no full bundle. Returns a step-by-step evaluation trace and the effect as if this were the only policy in the tenant.
Request
Responses
- 200
- 400
- 401
Isolated evaluation result and trace.
Invalid policy id, malformed body, or missing subject.id, resource.id, or action.
Missing or invalid tenant context.