Save policy draft
PUT/api/policies/:policy_id/draft
Store (or replace) the pending draft of a published rule. The published rule keeps enforcing untouched: no version bump, no policy_versions row, no re-evaluation.
Request
Responses
- 200
- 401
- 403
- 422
Successful Response
The token is missing, invalid or expired. Refresh it, or sign in again.
Your role does not allow this. The detail names the missing permission or role.
Validation Error