policy_create_policy
Create or update a policy, or dry-run an existing policy to validate rules and rehearse enforcement before applying changes.
Instructions
Creates a new policy, updates an existing policy, or trigger a policy dry-run. Create a new policy or update an existing policy based on request body and validate its fields according to business rules or dry-run an existing policy to rehearse actual policy effect on application. POST /policy/api/policies
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The policy to be created or updated | |
| dryRun | No | Dry-run an existing policy | |
| validationOnly | No | For a dry run that will do policy validation only instead of creating or updating a policy |