Create Policy
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.
Required Permissions
Name
Conditions
Policies:Create
Always Required
Body
Property
Type / Optional
Description
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.
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
Example
Response
Response example
Last updated