Update policy status
PATCH/v1/policies/:id/status
Flips only a policy's active/inactive status without re-sending the full policy payload. Idempotent — a no-op change still returns 200 with the policy. Returns the updated policy.
Request
Responses
- 200
- 400
- 404
The updated policy.
Invalid body (status must be "active" or "inactive").
Policy not found.