Skip to main content
Version: 1.1.6

Admin - Create a new policy from set of Rules

POST 

/admin/policies/create-policy

Create a new Policy from a set of Rules. A Policy is a set of Rules. The Policy is considered to have passed if all the Rules pass. The Policy is considered to have failed if any of the Rules fail. The Policy is identified by a policy_id.

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the Admin token. which is set on Vertex setup

Body

required

    name stringrequired
    rules RuleId[]required

Responses

Schema

    policy_id PolicyIdrequired
Loading...