Create Policy
Last updated
Last updated
POST /v2/policies
User action signature required. See User Action Signing for more information.
Request headers required. See Request Headers for more information.
Authentication required. See Authentication Headers for more information.
Name | Conditions |
---|---|
Property | Type / Optional | Description |
---|---|---|
Example
Policies:Create
Always Required
name
*
String
A name for the Policy.
activityKind
*
String
The kind of activity that the policy will be evaluating and guarding. See Activities for all supported values.
rule
*
Object
See Policy Rules for all supported rules.
action
*
Object
The action that will be taken if a policy is triggered. See Policy Actions for supported actions
filters
Object
Reduces the scope on which the policy applies. See Policy Filters for supported filters